public final class DependAction extends Action
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)
Modifier and Type | Class and Description |
---|---|
static class |
DependAction.Type
Type of dependency.
|
Modifier and Type | Method and Description |
---|---|
Fmri |
getTargetFmri()
The
Fmri specified as a dependency. |
DependAction.Type |
getType()
Gets the type of the dependency.
|
java.lang.String |
toString() |
public DependAction.Type getType()
public java.lang.String toString()
toString
in class java.lang.Object