com.zeroturnaround.liverebel.api.deploy
Interface ConfigurableUndeploy

All Superinterfaces:
PreparedUndeploy
All Known Implementing Classes:
UndeployImpl

public interface ConfigurableUndeploy
extends PreparedUndeploy

Undeploy operation which can be configured.

Author:
Rein Raudjärv

Method Summary
 ConfigurableUndeploy disableScriptExecution()
          Disables script execution steps for this deploy.
 ConfigurableUndeploy disableScriptExecution(boolean disable)
           
 ConfigurableUndeploy on(Collection<String> serverIds)
          Change the version only on the given servers.
 ConfigurableUndeploy on(String serverId)
          Change the version only on the given server.
 ConfigurableUndeploy onGroup(String groupName)
          Change the version only on the given group.
 ConfigurableUndeploy onGroups(Collection<String> groupNames)
          Change the version only on the given groups.
 ConfigurableUndeploy setProxyTargetServerId(String id)
           
 ConfigurableUndeploy setSchemaIds(Collection<Long> schemaIds)
           
 ConfigurableUndeploy setScriptEntriesArchive(File scriptEntriesArchive)
           
 ConfigurableUndeploy setScriptExecutionDescription(File scriptDescription)
           
 
Methods inherited from interface com.zeroturnaround.liverebel.api.deploy.PreparedUndeploy
execute
 

Method Detail

on

ConfigurableUndeploy on(String serverId)
Change the version only on the given server.

Parameters:
serverId - server Id.

on

ConfigurableUndeploy on(Collection<String> serverIds)
Change the version only on the given servers.

Parameters:
serverIds - server Ids.

onGroup

ConfigurableUndeploy onGroup(String groupName)
Change the version only on the given group.

Parameters:
groupName - group's name.

onGroups

ConfigurableUndeploy onGroups(Collection<String> groupNames)
Change the version only on the given groups.

Parameters:
groupNames - groups' names.

disableScriptExecution

ConfigurableUndeploy disableScriptExecution()
Disables script execution steps for this deploy. Same as disableScriptExecution(boolean) with true.


disableScriptExecution

ConfigurableUndeploy disableScriptExecution(boolean disable)
Parameters:
disable - if true disables script execution steps for this deploy.

setScriptExecutionDescription

ConfigurableUndeploy setScriptExecutionDescription(File scriptDescription)
Parameters:
scriptDescription - - file with a description of which scripts to run

setScriptEntriesArchive

ConfigurableUndeploy setScriptEntriesArchive(File scriptEntriesArchive)
Parameters:
entryArchive - - file, where are accumulated all entries used in scriptExecutionDescription, this file can be forwarded to the CC and nodes, so they'll have access to the scripts.

setProxyTargetServerId

ConfigurableUndeploy setProxyTargetServerId(String id)
Parameters:
proxy - target server id

setSchemaIds

ConfigurableUndeploy setSchemaIds(Collection<Long> schemaIds)
Parameters:
schemaIds - list of schema id's that need updating


Copyright © 2013. All Rights Reserved.