Class CommandHelper

java.lang.Object
com.cloudimpl.outstack.runtime.domainspec.CommandHelper

public class CommandHelper
extends java.lang.Object
Author:
nuwan
  • Constructor Summary

    Constructors
    Constructor Description
    CommandHelper()  
  • Method Summary

    Modifier and Type Method Description
    static Command withFiles​(Command cmd, java.util.List<java.lang.Object> files)  
    static Command withId​(Command cmd, java.lang.String id)  
    static Command withMapAttr​(Command cmd, java.util.Map<java.lang.String,​java.lang.String> mapAttr)  
    static Command withRootId​(Command cmd, java.lang.String rootId)  
    static Command withTenantId​(Command cmd, java.lang.String tenantId)  
    static Command withVersion​(Command cmd, java.lang.String version)  

    Methods inherited from class java.lang.Object

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

    • CommandHelper

      public CommandHelper()
  • Method Details

    • withRootId

      public static Command withRootId​(Command cmd, java.lang.String rootId)
    • withTenantId

      public static Command withTenantId​(Command cmd, java.lang.String tenantId)
    • withId

      public static Command withId​(Command cmd, java.lang.String id)
    • withVersion

      public static Command withVersion​(Command cmd, java.lang.String version)
    • withFiles

      public static Command withFiles​(Command cmd, java.util.List<java.lang.Object> files)
    • withMapAttr

      public static Command withMapAttr​(Command cmd, java.util.Map<java.lang.String,​java.lang.String> mapAttr)