Class Operation

  • All Implemented Interfaces:
    Cloneable
    Direct Known Subclasses:
    Composite

    public class Operation
    extends ModelNode
    Represents a DMR operation.
    • Constructor Detail

      • Operation

        public Operation​(ModelNode modelNode)
    • Method Detail

      • getName

        public String getName()
        Returns:
        the name of the operation
      • getAddress

        public ResourceAddress getAddress()
        Returns:
        the address of the operation
      • getParameter

        public ModelNode getParameter()
        Returns:
        the parameters of the operation
      • getHeader

        public ModelNode getHeader()
        Returns:
        the header of the operation
      • hasParameter

        public boolean hasParameter()
      • toString

        public String toString()
        Description copied from class: ModelNode
        Get a human-readable string representation of this model node, formatted nicely (possibly on multiple lines).
        Overrides:
        toString in class ModelNode
        Returns:
        the string representation of the operation as used in the CLI
      • asCli

        public String asCli()
        Returns:
        the string representation of the operation as used in the CLI