|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zeroturnaround.liverebel.api.impl.update.AppOperation
com.zeroturnaround.liverebel.api.impl.UndeployImpl
public class UndeployImpl
| Field Summary |
|---|
| Fields inherited from class com.zeroturnaround.liverebel.api.impl.update.AppOperation |
|---|
applicationId, con, executeScripts, groupNames, parser, proxyTargetServerId, schemaIds, scriptDescriptionFile, scriptEntriesArchive, serverIds, versionId |
| Constructor Summary | |
|---|---|
UndeployImpl(RestConnection con,
JsonParser parser,
String applicationId)
|
|
| Method Summary | |
|---|---|
ConfigurableUndeploy |
disableScriptExecution()
Disables script execution steps for this deploy. |
ConfigurableUndeploy |
disableScriptExecution(boolean disable)
|
Long |
execute()
Execute this undeploy operation and wait until it's finished. |
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)
|
String |
toString()
|
| Methods inherited from class com.zeroturnaround.liverebel.api.impl.update.AppOperation |
|---|
_disableScriptExecution, _disableScriptExecution, _on, _on, _onGroup, _onGroups, _setProxyTargetServerId, _setSchemaIds, _setScriptEntriesArchive, _setScriptExecutionDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UndeployImpl(RestConnection con,
JsonParser parser,
String applicationId)
| Method Detail |
|---|
public ConfigurableUndeploy on(String serverId)
ConfigurableUndeploy
on in interface ConfigurableUndeployserverId - server Id.public ConfigurableUndeploy on(Collection<String> serverIds)
ConfigurableUndeploy
on in interface ConfigurableUndeployserverIds - server Ids.public ConfigurableUndeploy onGroup(String groupName)
ConfigurableUndeploy
onGroup in interface ConfigurableUndeploygroupName - group's name.public ConfigurableUndeploy onGroups(Collection<String> groupNames)
ConfigurableUndeploy
onGroups in interface ConfigurableUndeploygroupNames - groups' names.public ConfigurableUndeploy disableScriptExecution()
ConfigurableUndeployConfigurableUndeploy.disableScriptExecution(boolean) with true.
disableScriptExecution in interface ConfigurableUndeploypublic ConfigurableUndeploy disableScriptExecution(boolean disable)
disableScriptExecution in interface ConfigurableUndeploydisable - if true disables script execution steps for this deploy.public ConfigurableUndeploy setScriptExecutionDescription(File scriptDescription)
setScriptExecutionDescription in interface ConfigurableUndeployscriptDescription - - file with a description of which scripts to runpublic ConfigurableUndeploy setScriptEntriesArchive(File scriptEntriesArchive)
setScriptEntriesArchive in interface ConfigurableUndeploypublic ConfigurableUndeploy setProxyTargetServerId(String id)
setProxyTargetServerId in interface ConfigurableUndeploypublic ConfigurableUndeploy setSchemaIds(Collection<Long> schemaIds)
setSchemaIds in interface ConfigurableUndeployschemaIds - list of schema id's that need updatingpublic Long execute()
PreparedUndeploy
execute in interface PreparedUndeploypublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||