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