Package com.pnfsoftware.jeb.core.actions
Class ActionMoveToData
java.lang.Object
com.pnfsoftware.jeb.core.actions.ActionData
com.pnfsoftware.jeb.core.actions.ActionMoveToData
- All Implemented Interfaces:
IActionData
This action class holds information for the
Actions.MOVE_TO
action.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Code specific, optionally supported by plugins.static final int
This flag indicates to plugins that additional safety checks in place to validate the move should be skipped.Fields inherited from class com.pnfsoftware.jeb.core.actions.ActionData
ERRCODE_UNKNOWN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the current fully-qualified name of the package to be moved.Get the new fully-qualified name of the package being moved.int
getFlags()
Custom flags used to further specify the move operation.void
setCurrentItemFqname
(String currentItemFqname) Set the current fully-qualified name of the package to be moved.void
setDstContainerFqname
(String dstContainerFqname) Set the new fully-qualified name of the package being moved.void
setFlags
(int flags) Custom flags used to further specify the move operation.Methods inherited from class com.pnfsoftware.jeb.core.actions.ActionData
canReuseObject, getDescription, getExecutionErrorCode, getExecutionErrorMessage, getValue, isNoInfoRequest, reset, setDescription, setExecutionError, setExecutionErrorCode, setExecutionErrorMessage, setValue
-
Field Details
-
FLAG_SKIP_CHECKS
public static final int FLAG_SKIP_CHECKSThis flag indicates to plugins that additional safety checks in place to validate the move should be skipped. I.e., if possible, the move operation should be performed even though it may not considered optimal or entirely legal to do it. Plugins specific, optionally supported.- See Also:
-
FLAG_NEVER_ANONYMOUS
public static final int FLAG_NEVER_ANONYMOUSCode specific, optionally supported by plugins. When moving a class to a method, the client may specify this flag to indicate to the implementor that the class is not to be made anonymous.- See Also:
-
-
Constructor Details
-
ActionMoveToData
public ActionMoveToData()
-
-
Method Details
-
getCurrentItemFqname
Get the current fully-qualified name of the package to be moved. This method is used by clients.- Returns:
- the package name
-
setCurrentItemFqname
Set the current fully-qualified name of the package to be moved. This method is used by plugins.- Parameters:
currentItemFqname
- package name
-
getDstContainerFqname
Get the new fully-qualified name of the package being moved. This method is used by plugins.- Returns:
- the package name
-
setDstContainerFqname
Set the new fully-qualified name of the package being moved. This method is used by clients.- Parameters:
dstContainerFqname
- package name
-
getFlags
public int getFlags()Custom flags used to further specify the move operation. This method is used by plugins.See
FLAG_xxx
constants.- Returns:
-
setFlags
public void setFlags(int flags) Custom flags used to further specify the move operation. This method is used by clients.See
FLAG_xxx
constants.- Parameters:
flags
-
-