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
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  CommandWrapper.Builder  
  • Constructor Summary

    Constructors
    Constructor Description
    CommandWrapper​(CommandWrapper.Builder builder)  
  • Method Summary

    Modifier and Type Method Description
    static CommandWrapper.Builder builder()  
    java.lang.String commandName()  
    java.util.Optional<java.lang.String> getRootId()  
    <T extends Command>
    T
    unwrap​(java.lang.Class<T> type)  
    java.lang.String version()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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
    • getRootId

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

      public static CommandWrapper.Builder builder()