org.wildfly.extras.creaper.commands.patching
Class RollbackLastPatch.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.patching.RollbackLastPatch.Builder
Enclosing class:
RollbackLastPatch

public static final class RollbackLastPatch.Builder
extends Object


Constructor Summary
RollbackLastPatch.Builder()
           
 
Method Summary
 RollbackLastPatch build()
           
 RollbackLastPatch.Builder overrideAll(boolean overrideAll)
          Sets whether all conflicts should be automatically resolved by overriding.
 RollbackLastPatch.Builder overrideModules(boolean overrideModules)
          Sets whether modules shall be overridden when there is conflict in the module.
 RollbackLastPatch.Builder overridePaths(String... pathsToOverride)
          Adds specified paths to the list of paths which shall be overridden.
 RollbackLastPatch.Builder preservePaths(String... pathsToPreserve)
          Adds paths to list of paths which should be preserved.
 RollbackLastPatch.Builder resetConfiguration(boolean resetConfiguration)
          Sets whether the rollback operation should reset the installation configurations to their state before the patch was applied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RollbackLastPatch.Builder

public RollbackLastPatch.Builder()
Method Detail

resetConfiguration

public RollbackLastPatch.Builder resetConfiguration(boolean resetConfiguration)
Sets whether the rollback operation should reset the installation configurations to their state before the patch was applied.


overrideAll

public RollbackLastPatch.Builder overrideAll(boolean overrideAll)
Sets whether all conflicts should be automatically resolved by overriding.


overrideModules

public RollbackLastPatch.Builder overrideModules(boolean overrideModules)
Sets whether modules shall be overridden when there is conflict in the module.


overridePaths

public RollbackLastPatch.Builder overridePaths(String... pathsToOverride)
Adds specified paths to the list of paths which shall be overridden. For more details, see the --override option of the patch apply CLI command.


preservePaths

public RollbackLastPatch.Builder preservePaths(String... pathsToPreserve)
Adds paths to list of paths which should be preserved. For more details, see the --preserve option of the patch apply CLI command.


build

public RollbackLastPatch build()


Copyright © 2016. All rights reserved.