Class Actions

java.lang.Object
com.pnfsoftware.jeb.core.actions.Actions

public class Actions extends Object
This class defines well-known actions.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Auto-rename all identifiers.
    static final int
    Request to mark an item as collapsed (rendering should be hidden) or expanded (normal rendering, not hidden).
    static final int
    Create a comment.
    static final int
    Perform a conversion.
    static final int
    Code specific: Create a package.
    static final int
    Delete action.
    static final int
    Move a source item "to" another (destination) item.
    static final int
    Code specific: Move code items to a package.
    static final int
    No operation.
    static final int
    Code specific: Provide a type hint for a code item.
    static final int
    Code specific: Query code overrides.
    static final int
    Code specific: Query types hierarchies.
    static final int
    Query cross-references.
    static final int
    Rename an item.
    static final int
    Perform a replacement.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    idToName(int id)
    Convert an action to a human-readable, camel-case name.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NOOP

      public static final int NOOP
      No operation.
      See Also:
    • DELETE

      public static final int DELETE
      Delete action.
      See Also:
    • RENAME

      public static final int RENAME
      Rename an item.
      See Also:
    • COMMENT

      public static final int COMMENT
      Create a comment.
      See Also:
    • QUERY_XREFS

      public static final int QUERY_XREFS
      Query cross-references.
      See Also:
    • CONVERT

      public static final int CONVERT
      Perform a conversion.
      See Also:
    • REPLACE

      public static final int REPLACE
      Perform a replacement.
      See Also:
    • CREATE_PACKAGE

      public static final int CREATE_PACKAGE
      Code specific: Create a package.
      See Also:
    • MOVE_TO_PACKAGE

      public static final int MOVE_TO_PACKAGE
      Code specific: Move code items to a package.

      This action has been superseded by MOVE_TO; it is left here for legacy reasons. Parsers implementing it should maintain support to avoid breaking extensions (scripts/plugins) relying on it.

      See Also:
    • QUERY_TYPE_HIER

      public static final int QUERY_TYPE_HIER
      Code specific: Query types hierarchies.
      See Also:
    • QUERY_OVERRIDES

      public static final int QUERY_OVERRIDES
      Code specific: Query code overrides.
      See Also:
    • AUTO_RENAME_ALL

      public static final int AUTO_RENAME_ALL
      Auto-rename all identifiers.
      See Also:
    • PROVIDE_TYPE_HINT

      public static final int PROVIDE_TYPE_HINT
      Code specific: Provide a type hint for a code item.
      See Also:
    • MOVE_TO

      public static final int MOVE_TO
      Move a source item "to" another (destination) item. A generic version of MOVE_TO_PACKAGE.
      See Also:
    • COLLAPSE

      public static final int COLLAPSE
      Request to mark an item as collapsed (rendering should be hidden) or expanded (normal rendering, not hidden).
      See Also:
  • Constructor Details

    • Actions

      public Actions()
  • Method Details

    • idToName

      public static String idToName(int id)
      Convert an action to a human-readable, camel-case name.
      Parameters:
      id - the action id
      Returns:
      the action name, or UnknownAction{id} on error