Class ApplicationProfileReader
- java.lang.Object
-
- org.gcube.datatransfer.resolver.applicationprofile.ApplicationProfileReader
-
public class ApplicationProfileReader extends Object
The Class ApplicationProfileReader.- Author:
- Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Sep 6, 2016
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringRESOURCE_PROFILE_BODY_APP_ID_TEXTprotected static StringRESOURCE_PROFILE_BODY_END_POINT_SCOPE_TEXTprotected static StringRESOURCE_PROFILE_BODY_END_POINT_URL_TEXTprotected static StringRESOURCE_PROFILE_BODY_TEXTprotected static StringRESOURCE_PROFILE_BODY_THUMBNAIL_URL_TEXTprotected static StringRESOURCE_PROFILE_DESCRIPTION_TEXTprotected static StringRESOURCE_PROFILE_NAME_TEXT
-
Constructor Summary
Constructors Constructor Description ApplicationProfileReader(String scope, String secondaryType, String portletClassName, boolean useRootScope)Instantiates a new application profile reader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationProfilegetApplicationProfile()Gets the application profile.StringtoString()
-
-
-
Field Detail
-
RESOURCE_PROFILE_BODY_END_POINT_URL_TEXT
protected static final String RESOURCE_PROFILE_BODY_END_POINT_URL_TEXT
- See Also:
- Constant Field Values
-
RESOURCE_PROFILE_BODY_END_POINT_SCOPE_TEXT
protected static final String RESOURCE_PROFILE_BODY_END_POINT_SCOPE_TEXT
- See Also:
- Constant Field Values
-
RESOURCE_PROFILE_BODY_TEXT
protected static final String RESOURCE_PROFILE_BODY_TEXT
- See Also:
- Constant Field Values
-
RESOURCE_PROFILE_BODY_THUMBNAIL_URL_TEXT
protected static final String RESOURCE_PROFILE_BODY_THUMBNAIL_URL_TEXT
- See Also:
- Constant Field Values
-
RESOURCE_PROFILE_BODY_APP_ID_TEXT
protected static final String RESOURCE_PROFILE_BODY_APP_ID_TEXT
- See Also:
- Constant Field Values
-
RESOURCE_PROFILE_DESCRIPTION_TEXT
protected static final String RESOURCE_PROFILE_DESCRIPTION_TEXT
- See Also:
- Constant Field Values
-
RESOURCE_PROFILE_NAME_TEXT
protected static final String RESOURCE_PROFILE_NAME_TEXT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ApplicationProfileReader
public ApplicationProfileReader(String scope, String secondaryType, String portletClassName, boolean useRootScope)
Instantiates a new application profile reader.- Parameters:
scope- - the scope where to search the Application ProfilesecondaryType- the secondary type of Application ProfileportletClassName- - the AppId of Generic ResourceuseRootScope- the use root scope, if true the root scope is used to discovery the Application Profile, otherwise scope is used
-
-
Method Detail
-
getApplicationProfile
public ApplicationProfile getApplicationProfile()
Gets the application profile.- Returns:
- the application profile
-
-