oracle.jdeveloper.deploy.war
Class WarProfile
java.lang.Object
   oracle.javatools.data.HashStructureAdapter
oracle.javatools.data.HashStructureAdapter
       oracle.jdeveloper.deploy.dt.DeployElement
oracle.jdeveloper.deploy.dt.DeployElement
           oracle.jdeveloper.deploy.dt.Profile
oracle.jdeveloper.deploy.dt.Profile
               oracle.jdeveloper.deploy.jar.ArchiveProfile
oracle.jdeveloper.deploy.jar.ArchiveProfile
                   oracle.jdeveloper.deploy.j2ee.J2eeProfile
oracle.jdeveloper.deploy.j2ee.J2eeProfile
                       oracle.jdeveloper.deploy.war.WarProfile
oracle.jdeveloper.deploy.war.WarProfile
- All Implemented Interfaces: 
- Displayable, Element, SubDirtyable, Subject, Dirtyable, Copyable, oracle.jdeveloper.deploy.common.ConnectionDefault, oracle.jdeveloper.deploy.common.Interdependency, Deployable, J2eePackaging, JarPackaging, LinkedDirtyable, PlatformDeployable, oracle.jdevimpl.deploy.JeeDeployable
- public class WarProfile 
- extends J2eeProfile
Data model representing a deployment profile for a J2EE web module.
 
 
 
 
 
 
 
 
| Methods inherited from class oracle.jdeveloper.deploy.j2ee.J2eeProfile | 
| getDefaultConnection, getDeployClientMaxHeapSize, getDeployPlanUrl, getEarURL, getEnterpriseAppName, getPlatform, getProperties, getProperty, initTempEar, initTransientProfile, isTransientProfile, putProperty, removeProperty, setDefaultConnection, setDeployClientMaxHeapSize, setDeployPlanUrl, setEarURL, setEnterpriseAppName, setPlatform, setProperties, setTransientProfile | 
 
| Methods inherited from class oracle.jdeveloper.deploy.jar.ArchiveProfile | 
| addFileGroup, findLibraryFileGroup, findLibraryFileGroups, findPackagingFileGroup, findProjectFileGroup, getArchiveOptions, getCustomSummary, getFileGroups, getJarURL, getSelectedProjectFiles, newDefaultArchiveProfile, newDefaultArchiveProfile, newDefaultArchiveProfile, resolvesLibrary, selectLibraryForDeployment, setArchiveOptions, setFileGroups, setJarURL, showCustomSummary, showDeployJarAction, showJarSummary | 
 
| Methods inherited from class oracle.jdeveloper.deploy.dt.Profile | 
| addDependency, addDependency, addDependency, copyTo, copyToImpl, equalsImpl, getDataContainer, getDefaultLibraryFileGroupName, getDefaultLibraryFileGroupTargetWithinJar, getDependencies, getHashStructure, getLibraryDependencies, getName, getParentProfileName, getProfileClass, getProfileNameFromRef, getShortLabel, getUnSelectedLibraryDependencies, isContainedProfile, migrate, removeDependency, removeDependency, resolveProfileDependencies, setContainedProfile, setDataContainer, setLibraryDependencies, setName, setProfileClass, setUnSelectedLibraryDependencies | 
 
| Methods inherited from class oracle.jdeveloper.deploy.dt.DeployElement | 
| attach, detach, getAttributes, getChildren, getData, getIcon, getLongLabel, getToolTipText, isDirty, linkContainingDirtyable, linkEmbeddedDirtyable, linkEmbeddedDirtyable, linkEmbeddedDirtyables, markDirty, mayHaveChildren, notifyObservers, setOwner, toString, unlinkContainingDirtyable, unlinkEmbeddedDirtyable, unlinkEmbeddedDirtyable, unlinkEmbeddedDirtyables | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
 
| Methods inherited from interface oracle.jdeveloper.deploy.common.Interdependency | 
| addDependency, getDependencies, removeDependency | 
 
| Methods inherited from interface oracle.javatools.util.Copyable | 
| copyTo | 
 
WEB_FILES_GROUP
public static final java.lang.String WEB_FILES_GROUP
- See Also:
- Constant Field Values
WarProfile
public WarProfile()
WarProfile
public WarProfile(HashStructure hash)
initArchiveProfile
protected void initArchiveProfile(java.lang.Class<? extends DataContainer> profileContainerClass)
- 
- Overrides:
- initArchiveProfilein class- ArchiveProfile
 
- 
 
canPackage
public boolean canPackage(Element element)
- This indicates if a profile has the ability to package the element within it's own module. For
 example, an EarProfile can package a WarProfile but a WarProfile cannot package another War Profile.
 This method will be overridden in the WarProfile and EarProfile at minimum. This method is used 
 by the DependentLibrary resolvedBy criteria.
 
- 
- Overrides:
- canPackagein class- ArchiveProfile
 
- 
 
getPackagingType
public final int getPackagingType()
- Description copied from interface: J2eePackaging
- Returns one of the constants: J2EE_APPLICATION, EJB_MODULE,
  WEB_MODULE, or CLIENT_MODULE.
 
- 
- Specified by:
- getPackagingTypein interface- J2eePackaging
- Overrides:
- getPackagingTypein class- J2eeProfile
 
- 
 
getContextRoot
public java.lang.String getContextRoot()
- 
 
getContextRoot
public java.lang.String getContextRoot(boolean forceSlash)
- 
 
setContextRoot
public void setContextRoot(java.lang.String contextRoot)
- 
 
isAppletDeployment
public boolean isAppletDeployment()
- 
 
setAppletDeployment
public void setAppletDeployment(boolean isAppletDeployment)
- 
 
getAppletLocation
public java.lang.String getAppletLocation()
- 
 
setAppletLocation
public void setAppletLocation(java.lang.String appletLocation)
- 
 
isAppletDeployedAsArchive
public boolean isAppletDeployedAsArchive()
- 
 
setAppletDeployedAsArchive
public void setAppletDeployedAsArchive(boolean isDeployedAsArchive)
- 
 
getAppletArchiveName
public java.lang.String getAppletArchiveName()
- 
 
setAppletArchiveName
public void setAppletArchiveName(java.lang.String archiveName)
- 
 
getAppletFiles
public oracle.jdeveloper.deploy.common.SelectedProjectFiles getAppletFiles()
- 
 
setAppletFiles
public void setAppletFiles(oracle.jdeveloper.deploy.common.SelectedProjectFiles appletFiles)
- 
 
getAppletArchives
public oracle.jdeveloper.deploy.common.SelectedArchives getAppletArchives()
- 
 
setAppletArchives
public void setAppletArchives(oracle.jdeveloper.deploy.common.SelectedArchives appletArchives)
- 
 
isClasspathJar
public boolean isClasspathJar()
- Description copied from class: ArchiveProfile
- Returns true if the deployed output of this profile can be used
  as a JAR file on a classpath.  Specialized JARs like WAR and EAR
  files are examples of JAR files that cannot be used directly on
  a classpath.
 
- 
- Overrides:
- isClasspathJarin class- ArchiveProfile
 
- 
 
migrateLegacyLibrariesToFileGroup
public void migrateLegacyLibrariesToFileGroup(Project project)
- This method migrates all LibraryFileGroup instances contained
  within the profile whose internal name is "legacy-libraries" to
  a LibraryFileGroup.
  
  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.
 
 
- 
 
equals
public boolean equals(java.lang.Object o)
- Description copied from class: HashStructureAdapter
- Equals support.  As long as the subclass stores all data in the
  HashStructureAdapter._hash, this base equals implementation should be
  sufficient and not need to be overridden.
 
- 
- Overrides:
- equalsin class- Profile
 
- 
 
Copyright © 1997, 2011, Oracle. All rights reserved.