public class

ActionMoveToData

extends ActionData
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.actions.ActionData
     ↳ com.pnfsoftware.jeb.core.actions.ActionMoveToData

Class Overview

This action class holds information for the MOVE_TO action.

Summary

Constants
int FLAG_NEVER_ANONYMOUS Code specific, optionally supported by plugins.
int FLAG_SKIP_CHECKS This flag indicates to plugins that additional safety checks in place to validate the move should be skipped.
[Expand]
Inherited Constants
From class com.pnfsoftware.jeb.core.actions.ActionData
Public Constructors
ActionMoveToData()
Public Methods
String getCurrentItemFqname()
Get the current fully-qualified name of the package to be moved.
String getDstContainerFqname()
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.
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.core.actions.ActionData
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.actions.IActionData

Constants

public static final int FLAG_NEVER_ANONYMOUS

Code 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.

Constant Value: 2 (0x00000002)

public static final int FLAG_SKIP_CHECKS

This 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.

Constant Value: 1 (0x00000001)

Public Constructors

public ActionMoveToData ()

Public Methods

public String getCurrentItemFqname ()

Get the current fully-qualified name of the package to be moved. This method is used by clients.

Returns
  • the package name

public String getDstContainerFqname ()

Get the new fully-qualified name of the package being moved. This method is used by plugins.

Returns
  • the package name

public int getFlags ()

Custom flags used to further specify the move operation. This method is used by plugins.

See FLAG_xxx constants.

public void setCurrentItemFqname (String currentItemFqname)

Set the current fully-qualified name of the package to be moved. This method is used by plugins.

Parameters
currentItemFqname package name

public void setDstContainerFqname (String dstContainerFqname)

Set the new fully-qualified name of the package being moved. This method is used by clients.

Parameters
dstContainerFqname package name

public void setFlags (int flags)

Custom flags used to further specify the move operation. This method is used by clients.

See FLAG_xxx constants.