com.zeroturnaround.liverebel.api.deploy
Interface ConfigurableDeploy

All Superinterfaces:
PreparedDeploy
All Known Implementing Classes:
DeployImpl

public interface ConfigurableDeploy
extends PreparedDeploy

Deploy operation which can be configured.

Author:
Rein Raudjärv

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

Method Detail

on

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

Parameters:
serverId - server Id.

on

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

Parameters:
serverIds - server Ids.

onGroup

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

Parameters:
groupName - group's name.

onGroups

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

Parameters:
groupNames - groups' names.

disableScriptExecution

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


disableScriptExecution

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

setScriptExecutionDescription

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

setScriptEntriesArchive

ConfigurableDeploy 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

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

setSchemaIds

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

setContextPath

ConfigurableDeploy setContextPath(String ctxPath)
Parameters:
ctxPath - context path for deploying onto application servers.

setVirtualHostName

ConfigurableDeploy setVirtualHostName(String virtualHostName)
Parameters:
virtualHostName - name of the virtual host to be used for deploying onto application servers.

setFileServerDeploymentPath

ConfigurableDeploy setFileServerDeploymentPath(String path)
Parameters:
path - relative or absolute path used for file servers.

setSkipSingleRootDirectory

ConfigurableDeploy setSkipSingleRootDirectory(boolean skipSingleRootDirectory)


Copyright © 2013. All Rights Reserved.