public class DeployActor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADDRESS |
Constructor and Description |
---|
DeployActor() |
Modifier and Type | Method and Description |
---|---|
void |
controllerRestart(java.lang.String tag,
ReplyCallback<DeployControllerState> cb) |
boolean |
copyTag(java.lang.String tag,
java.lang.String sourceTag,
java.util.Map<java.lang.String,java.lang.String> attributes) |
java.lang.String[] |
getCommitList(java.lang.String[] commitList) |
StreamSource |
getFile(java.lang.String tag,
java.lang.String fileName)
Returns a file to the client.
|
DeployTagStateQuery |
getTagState(java.lang.String tag) |
java.lang.String |
getUid() |
void |
init() |
java.lang.String[] |
listFiles(java.lang.String tag,
java.lang.String fileName) |
boolean |
putTag(java.lang.String tagName,
java.lang.String contentHash,
java.util.Map<java.lang.String,java.lang.String> attributes) |
DeployTagResult[] |
queryTags(java.lang.String regexp) |
boolean |
removeTag(java.lang.String tag,
java.util.Map<java.lang.String,java.lang.String> attributes) |
void |
restart(java.lang.String tag,
ReplyCallback<DeployControllerState> cb) |
void |
restartCluster(java.lang.String tag,
ReplyCallback<DeployControllerState> cb) |
boolean |
sendFile(java.lang.String sha1,
StreamSource source)
Receives a file from the client.
|
DeployControllerState |
start(java.lang.String tag) |
DeployControllerState |
stop(java.lang.String tag)
Deprecated.
|
java.lang.String |
toString() |
public static final java.lang.String ADDRESS
public void init()
public java.lang.String[] getCommitList(java.lang.String[] commitList)
public StreamSource getFile(java.lang.String tag, java.lang.String fileName) throws java.io.IOException
java.io.IOException
public boolean sendFile(java.lang.String sha1, StreamSource source)
sha1
- the hash identifier for the filesource
- the binary stream contentpublic java.lang.String[] listFiles(java.lang.String tag, java.lang.String fileName) throws java.io.IOException
java.io.IOException
public boolean putTag(java.lang.String tagName, java.lang.String contentHash, java.util.Map<java.lang.String,java.lang.String> attributes)
public boolean copyTag(java.lang.String tag, java.lang.String sourceTag, java.util.Map<java.lang.String,java.lang.String> attributes)
public DeployTagResult[] queryTags(java.lang.String regexp)
public DeployTagStateQuery getTagState(java.lang.String tag)
public boolean removeTag(java.lang.String tag, java.util.Map<java.lang.String,java.lang.String> attributes)
public DeployControllerState start(java.lang.String tag)
public DeployControllerState stop(java.lang.String tag)
public void controllerRestart(java.lang.String tag, ReplyCallback<DeployControllerState> cb)
public void restart(java.lang.String tag, ReplyCallback<DeployControllerState> cb)
public void restartCluster(java.lang.String tag, ReplyCallback<DeployControllerState> cb)
public java.lang.String getUid()
public java.lang.String toString()
toString
in class java.lang.Object