public final class ScriptReplicationDefinition extends ScriptAction
replicationDefinition
class.ReplicationDefinition
,
Serialized FormScriptAction.ScriptableParameterMap<K,V>
action, actionDef, services
Constructor and Description |
---|
ScriptReplicationDefinition(ServiceRegistry serviceRegistry,
ReplicationService replicationService,
org.mozilla.javascript.Scriptable scope,
ReplicationDefinition replicationDefinition) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeImpl(ScriptNode node) |
String |
getDescription() |
ScriptNode[] |
getPayload() |
String |
getReplicationName()
Returns the name of this replication definition
|
String |
getTargetName() |
void |
replicate()
Triggers the execution of the replication.
|
void |
setPayload(ScriptNode[] payloadNodes) |
void |
setTargetName(String target) |
String |
toString() |
execute, execute, execute, execute, executeAsynchronously, executeAsynchronouslyImpl, getName, getParameters, performParamConversionForRepo, setScope
public ScriptReplicationDefinition(ServiceRegistry serviceRegistry, ReplicationService replicationService, org.mozilla.javascript.Scriptable scope, ReplicationDefinition replicationDefinition)
public String getReplicationName()
public String getDescription()
public String getTargetName()
public void setTargetName(String target)
public ScriptNode[] getPayload()
public void setPayload(ScriptNode[] payloadNodes)
public void replicate()
protected void executeImpl(ScriptNode node)
executeImpl
in class ScriptAction
Copyright © 2005–2017 Alfresco Software. All rights reserved.