public abstract class AbstractNutsDeployCommand extends NutsWorkspaceCommandBase<net.thevpc.nuts.NutsDeployCommand> implements net.thevpc.nuts.NutsDeployCommand
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractNutsDeployCommand.Result |
| Modifier and Type | Field and Description |
|---|---|
protected NutsStreamOrPath |
content |
protected Object |
descriptor |
protected String |
descSha1 |
protected String |
fromRepository |
protected List<net.thevpc.nuts.NutsId> |
ids |
protected String[] |
parseOptions |
protected List<AbstractNutsDeployCommand.Result> |
result |
protected String |
sha1 |
protected String |
toRepository |
session, ws| Constructor and Description |
|---|
AbstractNutsDeployCommand(net.thevpc.nuts.NutsWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsDeployCommand |
addId(net.thevpc.nuts.NutsId id) |
net.thevpc.nuts.NutsDeployCommand |
addId(String id) |
net.thevpc.nuts.NutsDeployCommand |
addIds(net.thevpc.nuts.NutsId... value) |
net.thevpc.nuts.NutsDeployCommand |
addIds(String... values) |
protected void |
addResult(net.thevpc.nuts.NutsId nid,
String repository,
net.thevpc.nuts.NutsString source) |
net.thevpc.nuts.NutsDeployCommand |
clearIds() |
boolean |
configureFirst(net.thevpc.nuts.NutsCommandLine cmdLine) |
net.thevpc.nuts.NutsDeployCommand |
from(String repository) |
NutsStreamOrPath |
getContent() |
Object |
getDescriptor() |
String |
getDescSha1() |
net.thevpc.nuts.NutsId[] |
getIds() |
String[] |
getParseOptions() |
net.thevpc.nuts.NutsId[] |
getResult() |
String |
getSha1() |
String |
getTargetRepository() |
protected void |
invalidateResult() |
net.thevpc.nuts.NutsDeployCommand |
parseOptions(String[] parseOptions) |
net.thevpc.nuts.NutsDeployCommand |
removeId(net.thevpc.nuts.NutsId id) |
net.thevpc.nuts.NutsDeployCommand |
removeId(String id) |
net.thevpc.nuts.NutsDeployCommand |
setContent(byte[] content) |
net.thevpc.nuts.NutsDeployCommand |
setContent(File file) |
net.thevpc.nuts.NutsDeployCommand |
setContent(InputStream stream) |
net.thevpc.nuts.NutsDeployCommand |
setContent(net.thevpc.nuts.NutsPath path) |
net.thevpc.nuts.NutsDeployCommand |
setContent(Path file) |
net.thevpc.nuts.NutsDeployCommand |
setContent(String path) |
net.thevpc.nuts.NutsDeployCommand |
setContent(URL url) |
net.thevpc.nuts.NutsDeployCommand |
setDescriptor(File file) |
net.thevpc.nuts.NutsDeployCommand |
setDescriptor(InputStream stream) |
net.thevpc.nuts.NutsDeployCommand |
setDescriptor(net.thevpc.nuts.NutsDescriptor descriptor) |
net.thevpc.nuts.NutsDeployCommand |
setDescriptor(Path path) |
net.thevpc.nuts.NutsDeployCommand |
setDescriptor(String path) |
net.thevpc.nuts.NutsDeployCommand |
setDescriptor(URL url) |
net.thevpc.nuts.NutsDeployCommand |
setDescSha1(String descSha1) |
net.thevpc.nuts.NutsDeployCommand |
setParseOptions(String[] parseOptions) |
net.thevpc.nuts.NutsDeployCommand |
setRepository(String repository) |
net.thevpc.nuts.NutsDeployCommand |
setSha1(String sha1) |
net.thevpc.nuts.NutsDeployCommand |
setSourceRepository(String repository) |
net.thevpc.nuts.NutsDeployCommand |
setTargetRepository(String repository) |
net.thevpc.nuts.NutsDeployCommand |
to(String repository) |
_LOG, _LOGOP, checkSession, configure, configure, copyFromWorkspaceCommandBase, copySession, getCommandName, getSession, getWorkspace, setSession, setWsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected List<AbstractNutsDeployCommand.Result> result
protected NutsStreamOrPath content
protected Object descriptor
protected String sha1
protected String descSha1
protected String fromRepository
protected String toRepository
protected String[] parseOptions
protected final List<net.thevpc.nuts.NutsId> ids
public AbstractNutsDeployCommand(net.thevpc.nuts.NutsWorkspace ws)
public String[] getParseOptions()
public net.thevpc.nuts.NutsDeployCommand setParseOptions(String[] parseOptions)
public net.thevpc.nuts.NutsDeployCommand parseOptions(String[] parseOptions)
public net.thevpc.nuts.NutsDeployCommand setContent(InputStream stream)
setContent in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setContent(String path)
setContent in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setContent(net.thevpc.nuts.NutsPath path)
setContent in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setContent(byte[] content)
setContent in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setContent(File file)
setContent in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setContent(Path file)
setContent in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setDescriptor(InputStream stream)
setDescriptor in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setDescriptor(String path)
setDescriptor in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setDescriptor(File file)
setDescriptor in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setDescriptor(URL url)
setDescriptor in interface net.thevpc.nuts.NutsDeployCommandpublic String getSha1()
getSha1 in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setSha1(String sha1)
setSha1 in interface net.thevpc.nuts.NutsDeployCommandpublic String getDescSha1()
public net.thevpc.nuts.NutsDeployCommand setDescSha1(String descSha1)
setDescSha1 in interface net.thevpc.nuts.NutsDeployCommandpublic NutsStreamOrPath getContent()
public net.thevpc.nuts.NutsDeployCommand setContent(URL url)
setContent in interface net.thevpc.nuts.NutsDeployCommandpublic Object getDescriptor()
public net.thevpc.nuts.NutsDeployCommand setDescriptor(net.thevpc.nuts.NutsDescriptor descriptor)
setDescriptor in interface net.thevpc.nuts.NutsDeployCommandpublic String getTargetRepository()
getTargetRepository in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand to(String repository)
to in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setRepository(String repository)
setRepository in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setTargetRepository(String repository)
setTargetRepository in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand from(String repository)
from in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setSourceRepository(String repository)
setSourceRepository in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand setDescriptor(Path path)
setDescriptor in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsId[] getResult()
getResult in interface net.thevpc.nuts.NutsDeployCommandprotected void invalidateResult()
invalidateResult in class NutsWorkspaceCommandBase<net.thevpc.nuts.NutsDeployCommand>protected void addResult(net.thevpc.nuts.NutsId nid,
String repository,
net.thevpc.nuts.NutsString source)
public net.thevpc.nuts.NutsDeployCommand addIds(String... values)
addIds in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand addIds(net.thevpc.nuts.NutsId... value)
addIds in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand clearIds()
clearIds in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand addId(net.thevpc.nuts.NutsId id)
addId in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand removeId(net.thevpc.nuts.NutsId id)
removeId in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand removeId(String id)
removeId in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsDeployCommand addId(String id)
addId in interface net.thevpc.nuts.NutsDeployCommandpublic net.thevpc.nuts.NutsId[] getIds()
getIds in interface net.thevpc.nuts.NutsDeployCommandpublic boolean configureFirst(net.thevpc.nuts.NutsCommandLine cmdLine)
configureFirst in interface net.thevpc.nuts.NutsCommandLineConfigurableconfigureFirst in class NutsWorkspaceCommandBase<net.thevpc.nuts.NutsDeployCommand>Copyright © 2022 vpc open source initiative. All rights reserved.