public abstract class Action extends java.lang.Object implements java.lang.Comparable<Action>
Action is the base class for all actions that are contained within
packages.
Action is the smallest unit of operation in IPS. See the man page of pkgsend(1) for different types of actions and their semantics.
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Action a)
Used internally to sort
Actions. |
boolean |
equals(java.lang.Object a)
Determine if two Actions are the "same".
|
int |
getSize()
Return the size of the installed bits for this action.
|
int |
hashCode()
Implemented to be consistent with
equals(Object). |
public int getSize()
public int compareTo(Action a)
Actions. Not intended to be used by clients.compareTo in interface java.lang.Comparable<Action>public boolean equals(java.lang.Object a)
equals in class java.lang.Objecta - the Action to be comparedpublic int hashCode()
equals(Object).hashCode in class java.lang.Object