|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.data.HashStructureAdapter oracle.jdeveloper.deploy.dt.DeployElement oracle.jdeveloper.deploy.dt.Profile
public class Profile
Field Summary | |
---|---|
protected DataContainer |
_dataContainer
|
protected oracle.jdevimpl.deploy.common.DependableContainer |
_dependableContainer
|
static java.lang.String |
PROFILE_CLASS_NAME
|
static java.lang.String |
PROFILE_DEPENDENCIES
|
static java.lang.String |
PROFILE_NAME
|
Fields inherited from class oracle.javatools.data.HashStructureAdapter |
---|
_hash |
Constructor Summary | |
---|---|
Profile()
|
|
Profile(HashStructure hash)
|
Method Summary | ||
---|---|---|
void |
addDependency(Dependable dependable)
|
|
void |
addDependency(Node node,
DataContainer container)
|
|
void |
addDependency(Profile profile)
|
|
java.lang.Object |
copyTo(java.lang.Object object)
Copy support. |
|
protected void |
copyToImpl(java.lang.Object object)
|
|
boolean |
equals(java.lang.Object o)
Equals support. |
|
protected boolean |
equalsImpl(Profile profile)
|
|
DataContainer |
getDataContainer()
|
|
java.lang.String |
getDefaultLibraryFileGroupName()
|
|
java.lang.String |
getDefaultLibraryFileGroupTargetWithinJar()
|
|
java.util.Iterator<Dependable> |
getDependencies()
|
|
HashStructure |
getHashStructure()
Returns the HashStructure this adapter is adapting. |
|
oracle.jdeveloper.deploy.common.LibraryDependencies |
getLibraryDependencies()
|
|
java.lang.String |
getName()
|
|
java.lang.String |
getParentProfileName()
Deprecated. Profiles heirarchy not a part of base infrastructure. A composite should be used if specific implementations require this. |
|
static
|
getProfileClass(HashStructure hash,
java.lang.ClassLoader loader)
Returns the Class for a Profile. |
|
protected static java.lang.String |
getProfileNameFromRef(java.lang.String profileRef)
Deprecated. |
|
java.lang.String |
getShortLabel()
Returns a short label that can be displayed to the user. |
|
java.lang.Object[] |
getUnSelectedLibraryDependencies()
Returns the the list of library dependencies that are explicitly Unselected by the user. |
|
boolean |
isContainedProfile()
Deprecated. |
|
void |
migrate(TraversableContext tc)
|
|
Dependable |
removeDependency(Dependable dependable)
|
|
Dependable |
removeDependency(Profile profile)
Remove a dependency to a Profile. |
|
protected static void |
resolveProfileDependencies(Project project,
Profile profile,
oracle.jdevimpl.deploy.DeploymentProfilesMigrator migrator)
|
|
boolean |
resolvesLibrary(oracle.jdevimpl.deploy.common.DependentLibrary library)
This method indicates whether this profile resolves the given library. |
|
void |
setContainedProfile(boolean containedProfile)
Deprecated. Containment is not for the profile to track, hence should not be a property. |
|
void |
setDataContainer(DataContainer dataContainer)
|
|
void |
setLibraryDependencies(oracle.jdeveloper.deploy.common.LibraryDependencies libraryDependencies)
|
|
void |
setName(java.lang.String name)
|
|
static
|
setProfileClass(Profile profile,
java.lang.Class<T> profileClass)
Set the type of Profile. |
|
void |
setUnSelectedLibraryDependencies(java.lang.Object[] unSelectedLibraryDependencies)
|
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 oracle.javatools.data.HashStructureAdapter |
---|
addStructureChangeListener, containsKey, copyToImpl, equalsImpl, findOrCreate, forcedCopyTo, removeStructureChangeListener, useObjectEquals |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String PROFILE_NAME
public static java.lang.String PROFILE_CLASS_NAME
public static java.lang.String PROFILE_DEPENDENCIES
protected oracle.jdevimpl.deploy.common.DependableContainer _dependableContainer
protected DataContainer _dataContainer
Constructor Detail |
---|
public Profile()
public Profile(HashStructure hash)
Method Detail |
---|
public boolean equals(java.lang.Object o)
HashStructureAdapter
HashStructureAdapter._hash
, this base equals implementation should be
sufficient and not need to be overridden.
equals
in class HashStructureAdapter
protected final boolean equalsImpl(Profile profile)
public java.lang.String getName()
public void setName(java.lang.String name)
public static <T extends Profile> void setProfileClass(Profile profile, java.lang.Class<T> profileClass)
profileClass
- public static <T extends Profile> java.lang.Class<T> getProfileClass(HashStructure hash, java.lang.ClassLoader loader) throws java.lang.ClassNotFoundException
loader
- the ClassLoader to use to load the Class. If null, the
context class loader will be used
java.lang.ClassNotFoundException
- if the class is not known or it cannot be loaded.public java.lang.Object copyTo(java.lang.Object object)
HashStructureAdapter
copyTo
in class HashStructureAdapter
protected final void copyToImpl(java.lang.Object object)
public HashStructure getHashStructure()
HashStructureAdapter
getHashStructure
in class HashStructureAdapter
public DataContainer getDataContainer()
public void setDataContainer(DataContainer dataContainer)
dataContainer
- is the DataContainer associated with the Profile. This will either be an
instance of a Project or Workspace. The dataContainer is set at profile creation time in
Deployment.createDeploymentProfile and in DeploymentProfiles when read from disk.public java.util.Iterator<Dependable> getDependencies()
getDependencies
in interface oracle.jdeveloper.deploy.common.Interdependency
public void addDependency(Profile profile)
profile
- the profile object to be added as a dependency to this profile.
This object represents an object that this profile depends on for deployment.public Dependable removeDependency(Profile profile)
profile
- the profile to which the dependency should be removed.
public void addDependency(Node node, DataContainer container)
node
- the jarNode object to be added as a dependency to this profile.
This object represents an object that this profile depends on for deployment.public void addDependency(Dependable dependable)
addDependency
in interface oracle.jdeveloper.deploy.common.Interdependency
dependable
- the dependable object to be added as a dependency to this profile.
This object represents an object that this profile depends on for deployment.public Dependable removeDependency(Dependable dependable)
removeDependency
in interface oracle.jdeveloper.deploy.common.Interdependency
dependable
- removes the dependency of this profile on the specified dependable.
public oracle.jdeveloper.deploy.common.LibraryDependencies getLibraryDependencies()
public void setLibraryDependencies(oracle.jdeveloper.deploy.common.LibraryDependencies libraryDependencies)
public java.lang.Object[] getUnSelectedLibraryDependencies()
public void setUnSelectedLibraryDependencies(java.lang.Object[] unSelectedLibraryDependencies)
public java.lang.String getDefaultLibraryFileGroupName()
public java.lang.String getDefaultLibraryFileGroupTargetWithinJar()
public java.lang.String getShortLabel()
Displayable
String
is considered
translatable and should therefore be placed in an appropriate
resource file. When possible, the returned label should be
reasonably short enough to show in the navigator or explorer
windows but long enough to clearly identify and distinguish the
Displayable
.
getShortLabel
in interface Displayable
getShortLabel
in class DeployElement
Displayable
that can be shown to the user.public boolean resolvesLibrary(oracle.jdevimpl.deploy.common.DependentLibrary library)
library
- The library to be evaluated.
@Deprecated public void setContainedProfile(boolean containedProfile)
@Deprecated public boolean isContainedProfile()
@Deprecated public java.lang.String getParentProfileName()
@Deprecated protected static java.lang.String getProfileNameFromRef(java.lang.String profileRef)
protected static void resolveProfileDependencies(Project project, Profile profile, oracle.jdevimpl.deploy.DeploymentProfilesMigrator migrator)
project
- is the currently migrating project.profile
- is the profile for which you need profile dependencies resolved.migrator
- is the DeploymentProfilesMigrator instance that is used to
resolve profile dependencies.public void migrate(TraversableContext tc)
tc
- is the traversable Context passed for migration with the addition of the
following entries: project, profileURL, newRefPart and profileDepMap.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |