public final class ApplicationContent extends HashStructureAdapter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPLICATION_PACKAGE_PREFIX_KEY |
static java.lang.String |
APPLICATION_SRC_CONTENT_SET_KEY |
static java.lang.String |
APPLICATION_SRC_CONTENT_SET_LOCAL_KEY |
static java.lang.String |
PATHS_CONFIGURATION_DATA_KEY |
_hash
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getADFMetaInfURL()
Returns the url for the ADF META-INF directory.
|
java.net.URL |
getADFSourceURL()
Returns the url for the ".adf" directory for this application.
|
java.net.URL |
getApplicationMetaInfURL()
Returns the url for the application-level META-INF directory.
|
java.lang.String |
getAppPackagePrefix() |
ContentSet |
getContentSet(java.lang.String contentSetKey)
Returns a ContentSet adapter that wraps the HashStructure located at
the specified key within the workspace.
|
java.util.Iterator |
getDescriptors()
Gets an iterator for the application-level deployment descriptors.
|
java.util.Iterator |
getDescriptors(java.net.URL url)
Gets an iterator for the deployment descriptors at the specified url.
|
static ApplicationContent |
getInstance(HashStructure hash,
java.net.URL workspaceURL) |
static ApplicationContent |
getInstance(PropertyStorage psWorkspace,
java.net.URL workspaceURL) |
static ApplicationContent |
getInstance(Workspace workspace)
Returns a new ApplicationContent adapter for the specified Workspace.
|
java.net.URL |
getMetaInfURL()
Returns the url for the ADF META-INF directory.
|
java.net.URL |
getSourceURL()
Returns the url for the application-level source directory, which is
the parent of the application-level META-INF directory (not to be confused
with the ADF META-INF directory).
|
void |
setAppPackagePrefix(java.lang.String prefix) |
void |
setSourceURL(java.net.URL url)
Set the application-level source directory.
|
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals
public static final java.lang.String PATHS_CONFIGURATION_DATA_KEY
public static final java.lang.String APPLICATION_SRC_CONTENT_SET_LOCAL_KEY
public static final java.lang.String APPLICATION_SRC_CONTENT_SET_KEY
public static final java.lang.String APPLICATION_PACKAGE_PREFIX_KEY
public static ApplicationContent getInstance(PropertyStorage psWorkspace, java.net.URL workspaceURL)
public static ApplicationContent getInstance(HashStructure hash, java.net.URL workspaceURL)
public static ApplicationContent getInstance(Workspace workspace)
workspace
- The workspace whose META-INF directory is needed.public ContentSet getContentSet(java.lang.String contentSetKey)
public java.net.URL getMetaInfURL()
public java.net.URL getADFMetaInfURL()
public java.net.URL getADFSourceURL()
public java.net.URL getSourceURL()
public void setSourceURL(java.net.URL url)
public java.net.URL getApplicationMetaInfURL()
public java.lang.String getAppPackagePrefix()
public void setAppPackagePrefix(java.lang.String prefix)
public java.util.Iterator getDescriptors()
public java.util.Iterator getDescriptors(java.net.URL url)