public abstract class AbstractNDeployCmd extends NWorkspaceCmdBase<net.thevpc.nuts.NDeployCmd> implements net.thevpc.nuts.NDeployCmd
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractNDeployCmd.Result |
| Modifier and Type | Field and Description |
|---|---|
protected net.thevpc.nuts.io.NInputSource |
content |
protected Object |
descriptor |
protected String |
descSha1 |
protected String |
fromRepository |
protected List<net.thevpc.nuts.NId> |
ids |
protected List<String> |
parseOptions |
protected List<AbstractNDeployCmd.Result> |
result |
protected String |
sha1 |
protected String |
toRepository |
| Constructor and Description |
|---|
AbstractNDeployCmd() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NDeployCmd |
addId(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NDeployCmd |
addId(String id) |
net.thevpc.nuts.NDeployCmd |
addIds(net.thevpc.nuts.NId... value) |
net.thevpc.nuts.NDeployCmd |
addIds(String... values) |
protected void |
addResult(net.thevpc.nuts.NId nid,
String repository,
net.thevpc.nuts.text.NText source) |
net.thevpc.nuts.NDeployCmd |
clearIds() |
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
net.thevpc.nuts.NDeployCmd |
from(String repository) |
net.thevpc.nuts.io.NInputSource |
getContent() |
Object |
getDescriptor() |
String |
getDescSha1() |
List<net.thevpc.nuts.NId> |
getIds() |
List<String> |
getParseOptions() |
List<net.thevpc.nuts.NId> |
getResult() |
String |
getSha1() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
String |
getTargetRepository() |
protected void |
invalidateResult() |
net.thevpc.nuts.NDeployCmd |
parseOptions(String[] parseOptions) |
net.thevpc.nuts.NDeployCmd |
removeId(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NDeployCmd |
removeId(String id) |
net.thevpc.nuts.NDeployCmd |
setContent(byte[] content) |
net.thevpc.nuts.NDeployCmd |
setContent(File file) |
net.thevpc.nuts.NDeployCmd |
setContent(InputStream stream) |
net.thevpc.nuts.NDeployCmd |
setContent(net.thevpc.nuts.io.NInputSource content) |
net.thevpc.nuts.NDeployCmd |
setContent(net.thevpc.nuts.io.NPath path) |
net.thevpc.nuts.NDeployCmd |
setContent(Path file) |
net.thevpc.nuts.NDeployCmd |
setContent(URL url) |
net.thevpc.nuts.NDeployCmd |
setDescriptor(File file) |
net.thevpc.nuts.NDeployCmd |
setDescriptor(InputStream stream) |
net.thevpc.nuts.NDeployCmd |
setDescriptor(net.thevpc.nuts.NDescriptor descriptor) |
net.thevpc.nuts.NDeployCmd |
setDescriptor(Path path) |
net.thevpc.nuts.NDeployCmd |
setDescriptor(String path) |
net.thevpc.nuts.NDeployCmd |
setDescriptor(URL url) |
net.thevpc.nuts.NDeployCmd |
setDescSha1(String descSha1) |
net.thevpc.nuts.NDeployCmd |
setParseOptions(String[] parseOptions) |
net.thevpc.nuts.NDeployCmd |
setRepository(String repository) |
net.thevpc.nuts.NDeployCmd |
setSha1(String sha1) |
net.thevpc.nuts.NDeployCmd |
setSourceRepository(String repository) |
net.thevpc.nuts.NDeployCmd |
setTargetRepository(String repository) |
net.thevpc.nuts.NDeployCmd |
to(String repository) |
_LOG, _LOGOP, configure, copyFromWorkspaceCommandBase, getCommandNameprotected List<AbstractNDeployCmd.Result> result
protected net.thevpc.nuts.io.NInputSource content
protected Object descriptor
protected String sha1
protected String descSha1
protected String fromRepository
protected String toRepository
protected final List<net.thevpc.nuts.NId> ids
public int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentgetSupportLevel in class NWorkspaceCmdBase<net.thevpc.nuts.NDeployCmd>public net.thevpc.nuts.NDeployCmd setParseOptions(String[] parseOptions)
public net.thevpc.nuts.NDeployCmd parseOptions(String[] parseOptions)
public net.thevpc.nuts.NDeployCmd setContent(InputStream stream)
setContent in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setContent(net.thevpc.nuts.io.NPath path)
setContent in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setContent(byte[] content)
setContent in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setContent(File file)
setContent in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setContent(Path file)
setContent in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setDescriptor(InputStream stream)
setDescriptor in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setDescriptor(String path)
setDescriptor in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setDescriptor(File file)
setDescriptor in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setDescriptor(URL url)
setDescriptor in interface net.thevpc.nuts.NDeployCmdpublic String getSha1()
getSha1 in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setSha1(String sha1)
setSha1 in interface net.thevpc.nuts.NDeployCmdpublic String getDescSha1()
public net.thevpc.nuts.NDeployCmd setDescSha1(String descSha1)
setDescSha1 in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.io.NInputSource getContent()
getContent in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setContent(net.thevpc.nuts.io.NInputSource content)
setContent in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setContent(URL url)
setContent in interface net.thevpc.nuts.NDeployCmdpublic Object getDescriptor()
public net.thevpc.nuts.NDeployCmd setDescriptor(net.thevpc.nuts.NDescriptor descriptor)
setDescriptor in interface net.thevpc.nuts.NDeployCmdpublic String getTargetRepository()
getTargetRepository in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd to(String repository)
to in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setRepository(String repository)
setRepository in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setTargetRepository(String repository)
setTargetRepository in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd from(String repository)
from in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setSourceRepository(String repository)
setSourceRepository in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd setDescriptor(Path path)
setDescriptor in interface net.thevpc.nuts.NDeployCmdpublic List<net.thevpc.nuts.NId> getResult()
getResult in interface net.thevpc.nuts.NDeployCmdprotected void invalidateResult()
invalidateResult in class NWorkspaceCmdBase<net.thevpc.nuts.NDeployCmd>protected void addResult(net.thevpc.nuts.NId nid,
String repository,
net.thevpc.nuts.text.NText source)
public net.thevpc.nuts.NDeployCmd addIds(String... values)
addIds in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd addIds(net.thevpc.nuts.NId... value)
addIds in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd clearIds()
clearIds in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd addId(net.thevpc.nuts.NId id)
addId in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd removeId(net.thevpc.nuts.NId id)
removeId in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd removeId(String id)
removeId in interface net.thevpc.nuts.NDeployCmdpublic net.thevpc.nuts.NDeployCmd addId(String id)
addId in interface net.thevpc.nuts.NDeployCmdpublic List<net.thevpc.nuts.NId> getIds()
getIds in interface net.thevpc.nuts.NDeployCmdpublic boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurableconfigureFirst in class NWorkspaceCmdBase<net.thevpc.nuts.NDeployCmd>Copyright © 2025 vpc open source initiative. All rights reserved.