public class EarProfile extends J2eeProfile
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 |
|---|
EarProfile() |
EarProfile(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 |
getDefaultLibraryFileGroupName() |
java.lang.String |
getDefaultLibraryFileGroupTargetWithinJar() |
java.lang.String |
getDescription() |
java.net.URL |
getJarURL()
Returns the
URL that will be added to the class path
of a project that depends on this profile. |
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) |
protected void |
initTempEar(java.net.URL jarURL) |
boolean |
isApplicationLevel() |
boolean |
isClasspathJar()
Returns true if the deployed output of this profile can be used
as a JAR file on a classpath.
|
void |
setDescription(java.lang.String description) |
void |
setJarURL(java.net.URL jarURL) |
getDefaultConnection, getDeployClientMaxHeapSize, getDeployPlanUrl, getEarURL, getEnterpriseAppName, getPlatform, getProperties, getProperty, initTransientProfile, isTransientProfile, putProperty, removeProperty, setDefaultConnection, setDeployClientMaxHeapSize, setDeployPlanUrl, setEarURL, setEnterpriseAppName, setPlatform, setProperties, setTransientProfileaddFileGroup, findLibraryFileGroup, findLibraryFileGroups, findPackagingFileGroup, findProjectFileGroup, getArchiveOptions, getFileGroups, getLibraryDependencies, getOrCreateLibraryDependencies, getSelectedProjectFiles, newDefaultArchiveProfile, newDefaultArchiveProfile, newDefaultArchiveProfile, selectLibraryForDeployment, setArchiveOptions, setFileGroups, 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, getFileGroupsaddDependency, getDependencies, removeDependencygetAttributedLabelpublic EarProfile()
public EarProfile(HashStructure hash)
protected void initArchiveProfile(java.lang.Class<? extends DataContainer> profileContainerClass)
initArchiveProfile in class ArchiveProfileprotected void initTempEar(java.net.URL jarURL)
initTempEar in class J2eeProfilepublic java.net.URL getJarURL()
throws TransientMarker
JarPackagingURL that will be added to the class path
of a project that depends on this profile.getJarURL in interface JarPackaginggetJarURL in class ArchiveProfileTransientMarkerpublic void setJarURL(java.net.URL jarURL)
setJarURL in class ArchiveProfilepublic boolean canPackage(Element element)
public final int getPackagingType()
J2eePackaginggetPackagingType in interface J2eePackaginggetPackagingType in class J2eeProfilepublic java.lang.String getDefaultLibraryFileGroupName()
getDefaultLibraryFileGroupName in class ArchiveProfilepublic java.lang.String getDefaultLibraryFileGroupTargetWithinJar()
getDefaultLibraryFileGroupTargetWithinJar in class ArchiveProfilepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
public boolean isClasspathJar()
ArchiveProfileisClasspathJar in class ArchiveProfilepublic boolean isApplicationLevel()
public boolean equals(java.lang.Object o)
HashStructureAdapterHashStructureAdapter._hash, this base equals implementation should be
sufficient and not need to be overridden.