public class AddNodeCliAction extends ResourceCliAction
CmdLineAction
which adds a ResourceNode.CmdLineAction.ActionMessagePrinter
Constructor and Description |
---|
AddNodeCliAction() |
Modifier and Type | Method and Description |
---|---|
void |
execute(CmdLineAction.ActionMessagePrinter printer) |
void |
setCapacity(int capacity) |
void |
setNodeId(String nodeId) |
void |
setNodeUrl(URL nodeUrl) |
getClient, getUrl, setClient
getDescription, getDetailedDescription, getExamples, getName, setDescription, setDetailedDescription, setExamples, setName
public void execute(CmdLineAction.ActionMessagePrinter printer) throws CmdLineActionException
execute
in class CmdLineAction
CmdLineActionException
public void setNodeId(String nodeId)
public void setNodeUrl(URL nodeUrl)
public void setCapacity(int capacity)
Copyright © 1999–2017 Apache OODT. All rights reserved.