public class WarProfile extends J2eeProfile
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
WEB_FILES_GROUP |
ACTION_DEPLOY_PREBUILT_TO_REMOTE, ACTION_DEPLOY_TO_EAR_FILE, ACTION_DEPLOY_TO_MOST_RECENT, ACTION_DEPLOY_TO_NEW_CONNECTION, ACTION_REDEPLOYACTION_DEPLOY_TO_JAR_FILE, ACTION_PREVIEW, ACTION_SETTINGS_DIALOG_dataContainer, PROFILE_CLASS_NAME, PROFILE_NAME_hashCLIENT_MODULE, CONNECTOR_MODULE, EJB_MODULE, GAR_MODULE, J2EE_APPLICATION, METADATA_MODULE, NONE, OAR_MODULE, SAR_MODULE, WEB_MODULE| Constructor and Description |
|---|
WarProfile() |
WarProfile(HashStructure hash) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPackage(Element element)
This indicates if a profile has the ability to package the element within it's own module.
|
boolean |
equals(java.lang.Object o)
Equals support.
|
java.lang.String |
getAppletArchiveName() |
SelectedArchives |
getAppletArchives() |
SelectedProjectFiles |
getAppletFiles() |
java.lang.String |
getAppletLocation() |
java.lang.String |
getContextRoot() |
java.lang.String |
getContextRoot(boolean forceSlash) |
int |
getPackagingType()
Returns one of the constants: J2EE_APPLICATION, EJB_MODULE,
WEB_MODULE, or CLIENT_MODULE.
|
protected void |
initArchiveProfile(java.lang.Class<? extends DataContainer> profileContainerClass) |
boolean |
isAppletDeployedAsArchive() |
boolean |
isAppletDeployment() |
boolean |
isClasspathJar()
Returns true if the deployed output of this profile can be used
as a JAR file on a classpath.
|
void |
migrateLegacyLibrariesToFileGroup(Project project)
This method migrates all LibraryFileGroup instances contained
within the profile whose internal name is "legacy-libraries" to
a LibraryFileGroup.
|
void |
setAppletArchiveName(java.lang.String archiveName) |
void |
setAppletArchives(SelectedArchives appletArchives) |
void |
setAppletDeployedAsArchive(boolean isDeployedAsArchive) |
void |
setAppletDeployment(boolean isAppletDeployment) |
void |
setAppletFiles(SelectedProjectFiles appletFiles) |
void |
setAppletLocation(java.lang.String appletLocation) |
void |
setContextRoot(java.lang.String contextRoot) |
getDefaultConnection, getDeployClientMaxHeapSize, getDeployPlanUrl, getEarURL, getEnterpriseAppName, getPlatform, getProperties, getProperty, initTempEar, initTransientProfile, isTransientProfile, putProperty, removeProperty, setDefaultConnection, setDeployClientMaxHeapSize, setDeployPlanUrl, setEarURL, setEnterpriseAppName, setPlatform, setProperties, setTransientProfileaddFileGroup, findLibraryFileGroup, findLibraryFileGroups, findPackagingFileGroup, findProjectFileGroup, getArchiveOptions, getDefaultLibraryFileGroupName, getDefaultLibraryFileGroupTargetWithinJar, getFileGroups, getJarURL, getLibraryDependencies, getOrCreateLibraryDependencies, getSelectedProjectFiles, newDefaultArchiveProfile, newDefaultArchiveProfile, newDefaultArchiveProfile, selectLibraryForDeployment, setArchiveOptions, setFileGroups, setJarURL, setLibraryDependenciesaddDependency, addDependency, addDependency, copyTo, copyToImpl, equalsImpl, getDataContainer, getDependencies, getHashStructure, getName, getParentProfileName, getProfileClass, getShortLabel, isContainedProfile, migrate, removeDependency, removeDependency, setContainedProfile, setDataContainer, setName, setProfileClassattach, detach, getAttributes, getChildren, getData, getIcon, getLongLabel, getToolTipText, isDirty, linkContainingDirtyable, linkEmbeddedDirtyable, linkEmbeddedDirtyable, linkEmbeddedDirtyables, markDirty, mayHaveChildren, notifyObservers, setOwner, toString, unlinkContainingDirtyable, unlinkEmbeddedDirtyable, unlinkEmbeddedDirtyable, unlinkEmbeddedDirtyablesaddStructureChangeListener, containsKey, copyToImpl, equalsImpl, findOrCreate, forcedCopyTo, removeStructureChangeListener, useObjectEqualsclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetArchiveOptionsgetArchiveOptions, getFileGroups, getJarURLaddDependency, getDependencies, removeDependencypublic static final java.lang.String WEB_FILES_GROUP
public WarProfile()
public WarProfile(HashStructure hash)
protected void initArchiveProfile(java.lang.Class<? extends DataContainer> profileContainerClass)
initArchiveProfile in class ArchiveProfilepublic boolean canPackage(Element element)
public final int getPackagingType()
J2eePackaginggetPackagingType in interface J2eePackaginggetPackagingType in class J2eeProfilepublic java.lang.String getContextRoot()
public java.lang.String getContextRoot(boolean forceSlash)
public void setContextRoot(java.lang.String contextRoot)
public boolean isAppletDeployment()
public void setAppletDeployment(boolean isAppletDeployment)
public java.lang.String getAppletLocation()
public void setAppletLocation(java.lang.String appletLocation)
public boolean isAppletDeployedAsArchive()
public void setAppletDeployedAsArchive(boolean isDeployedAsArchive)
public java.lang.String getAppletArchiveName()
public void setAppletArchiveName(java.lang.String archiveName)
public SelectedProjectFiles getAppletFiles()
public void setAppletFiles(SelectedProjectFiles appletFiles)
public SelectedArchives getAppletArchives()
public void setAppletArchives(SelectedArchives appletArchives)
public boolean isClasspathJar()
ArchiveProfileisClasspathJar in class ArchiveProfilepublic void migrateLegacyLibrariesToFileGroup(Project project)
Because this migration can result in the loss of some profile properties, this migration is not performed automatically. Callers of this method have the responsibility of alerting the user of this migration step and giving the user a chance to cancel the operation.
public boolean equals(java.lang.Object o)
HashStructureAdapterHashStructureAdapter._hash, this base equals implementation should be
sufficient and not need to be overridden.