public abstract class AbstractNDeployCmd extends NWorkspaceCmdBase<NDeployCmd> implements NDeployCmd
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractNDeployCmd.Result |
| Modifier and Type | Field and Description |
|---|---|
protected NInputSource |
content |
protected Object |
descriptor |
protected String |
descSha1 |
protected String |
fromRepository |
protected List<NId> |
ids |
protected List<String> |
parseOptions |
protected List<AbstractNDeployCmd.Result> |
result |
protected String |
sha1 |
protected String |
toRepository |
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
AbstractNDeployCmd() |
_LOG, configure, copyFromWorkspaceCommandBase, getCommandNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, of, runconfigure, configure, configureLastisValidScore, query, queryprotected List<AbstractNDeployCmd.Result> result
protected NInputSource content
protected Object descriptor
protected String sha1
protected String descSha1
protected String fromRepository
protected String toRepository
public int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorablegetScore in class NWorkspaceCmdBase<NDeployCmd>public NDeployCmd setParseOptions(String[] parseOptions)
public NDeployCmd parseOptions(String[] parseOptions)
public NDeployCmd setContent(InputStream stream)
setContent in interface NDeployCmdpublic NDeployCmd setContent(NPath path)
setContent in interface NDeployCmdpublic NDeployCmd setContent(byte[] content)
setContent in interface NDeployCmdpublic NDeployCmd setContent(File file)
setContent in interface NDeployCmdpublic NDeployCmd setContent(Path file)
setContent in interface NDeployCmdpublic NDeployCmd setDescriptor(InputStream stream)
setDescriptor in interface NDeployCmdpublic NDeployCmd setDescriptor(String path)
setDescriptor in interface NDeployCmdpublic NDeployCmd setDescriptor(File file)
setDescriptor in interface NDeployCmdpublic NDeployCmd setDescriptor(URL url)
setDescriptor in interface NDeployCmdpublic String getSha1()
getSha1 in interface NDeployCmdpublic NDeployCmd setSha1(String sha1)
setSha1 in interface NDeployCmdpublic String getDescSha1()
public NDeployCmd setDescSha1(String descSha1)
setDescSha1 in interface NDeployCmdpublic NInputSource getContent()
getContent in interface NDeployCmdpublic NDeployCmd setContent(NInputSource content)
setContent in interface NDeployCmdpublic NDeployCmd setContent(URL url)
setContent in interface NDeployCmdpublic Object getDescriptor()
public NDeployCmd setDescriptor(NDescriptor descriptor)
setDescriptor in interface NDeployCmdpublic String getTargetRepository()
getTargetRepository in interface NDeployCmdpublic NDeployCmd to(String repository)
to in interface NDeployCmdpublic NDeployCmd setRepository(String repository)
setRepository in interface NDeployCmdpublic NDeployCmd setTargetRepository(String repository)
setTargetRepository in interface NDeployCmdpublic NDeployCmd from(String repository)
from in interface NDeployCmdpublic NDeployCmd setSourceRepository(String repository)
setSourceRepository in interface NDeployCmdpublic NDeployCmd setDescriptor(Path path)
setDescriptor in interface NDeployCmdpublic List<NId> getResult()
getResult in interface NDeployCmdprotected void invalidateResult()
invalidateResult in class NWorkspaceCmdBase<NDeployCmd>public NDeployCmd addIds(String... values)
addIds in interface NDeployCmdpublic NDeployCmd addIds(NId... value)
addIds in interface NDeployCmdpublic NDeployCmd clearIds()
clearIds in interface NDeployCmdpublic NDeployCmd addId(NId id)
addId in interface NDeployCmdpublic NDeployCmd removeId(NId id)
removeId in interface NDeployCmdpublic NDeployCmd removeId(String id)
removeId in interface NDeployCmdpublic NDeployCmd addId(String id)
addId in interface NDeployCmdpublic List<NId> getIds()
getIds in interface NDeployCmdpublic boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurableconfigureFirst in class NWorkspaceCmdBase<NDeployCmd>Copyright © 2025 vpc open source initiative. All rights reserved.