Class ScriptReplicationDefinition

java.lang.Object
org.alfresco.repo.jscript.ScriptAction
org.alfresco.repo.replication.script.ScriptReplicationDefinition
All Implemented Interfaces:
Serializable, Scopeable

public final class ScriptReplicationDefinition extends ScriptAction
ReplicationDefinition JavaScript Object. This class is a JavaScript-friendly wrapper for the replicationDefinition class.
Author:
Nick Burch
See Also:
  • Constructor Details

  • Method Details

    • getReplicationName

      public String getReplicationName()
      Returns the name of this replication definition
      Returns:
      the name which uniquely identifies this replication definition.
    • getDescription

      public String getDescription()
    • getTargetName

      public String getTargetName()
    • setTargetName

      public void setTargetName(String target)
    • getPayload

      public ScriptNode[] getPayload()
    • setPayload

      public void setPayload(ScriptNode[] payloadNodes)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • replicate

      public void replicate()
      Triggers the execution of the replication.
    • executeImpl

      protected void executeImpl(ScriptNode node)
      Overrides:
      executeImpl in class ScriptAction