Class CommandWrapper

java.lang.Object
com.cloudimpl.outstack.runtime.CommandWrapper
All Implemented Interfaces:
ICommand

public class CommandWrapper
extends java.lang.Object
implements ICommand
Author:
nuwan
  • Constructor Details

  • Method Details

    • unwrap

      public final <T extends Command> T unwrap​(java.lang.Class<T> type)
      Specified by:
      unwrap in interface ICommand
    • commandName

      public final java.lang.String commandName()
      Specified by:
      commandName in interface ICommand
    • version

      public final java.lang.String version()
      Specified by:
      version in interface ICommand
    • getRootType

      public java.lang.String getRootType()
    • getChildType

      public java.lang.String getChildType()
    • getRootId

      public final java.util.Optional<java.lang.String> getRootId()
    • setGrant

      public void setGrant​(java.lang.Object grant)
    • getGrant

      public <T> T getGrant()
    • builder

      public static CommandWrapper.Builder builder()