Class NewLinkCommand

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.apache.log4j.Logger operationLog  
    • Constructor Summary

      Constructors 
      Constructor Description
      NewLinkCommand​(java.lang.String linkPath, java.lang.String targetPath)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Provisionally execute the actions requested by this step.
      static org.apache.log4j.Logger getOperationLog()  
      void rollback()
      Rollback any side-effects of the execute.
      • Methods inherited from class java.lang.Object

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

      • operationLog

        protected static final org.apache.log4j.Logger operationLog
    • Constructor Detail

      • NewLinkCommand

        public NewLinkCommand​(java.lang.String linkPath,
                              java.lang.String targetPath)
    • Method Detail

      • execute

        public void execute()
        Description copied from interface: ITransactionalCommand
        Provisionally execute the actions requested by this step.
      • rollback

        public void rollback()
        Description copied from interface: ITransactionalCommand
        Rollback any side-effects of the execute. Rollback is assumed to be idempotent -- multiple invocations are allowed. If there is nothing to rollback, just ignore.
      • getOperationLog

        public static org.apache.log4j.Logger getOperationLog()