|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.pkg.client.Action
com.sun.pkg.client.DependAction
public final class DependAction
A DependAction
is an action that represents a dependency from
one package to another.
The fmri attribute is expected to be the pkg FMRI that this package depends on. The type attribute is one of
optional - dependency if present activates additional functionality, but is not needed
require - dependency is needed for correct function
transfer - dependency on minimum version of other package that donated components to this package at earlier version. Other package need not be installed, but if it is, it must be at the specified version. Effect is the same as optional, but semantics are different.
incorporate - optional freeze at specified version
exclude - package non-functional if dependent package is present (unimplemented)
Nested Class Summary | |
---|---|
static class |
DependAction.Type
Type of dependency. |
Method Summary | |
---|---|
Fmri |
getTargetFmri()
The Fmri specified as a dependency. |
DependAction.Type |
getType()
Gets the type of the dependency. |
java.lang.String |
toString()
|
Methods inherited from class com.sun.pkg.client.Action |
---|
compareTo, equals, getSize, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public DependAction.Type getType()
public Fmri getTargetFmri()
Fmri
specified as a dependency.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |