public class ProvCommandProvider
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NEW_LINE |
static java.lang.String |
TAB |
| Constructor and Description |
|---|
ProvCommandProvider(java.lang.String profileId,
IProvisioningAgent agent) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
_help(CommandInterpreter intp)
Handles the help command
|
void |
_provaddartifactrepo(CommandInterpreter interpreter) |
void |
_provaddmetadatarepo(CommandInterpreter interpreter)
Adds a metadata repository.
|
void |
_provaddprofile(CommandInterpreter interpreter)
Creates a profile given an id, location, and flavor
|
void |
_provaddrepo(CommandInterpreter interpreter)
Adds both a metadata repository and artifact repository
|
void |
_provdelartifactrepo(CommandInterpreter interpreter) |
void |
_provdelmetadatarepo(CommandInterpreter interpreter) |
void |
_provdelprofile(CommandInterpreter interpreter)
Deletes a profile given an id, location, and flavor
|
void |
_provdelrepo(CommandInterpreter interpreter) |
void |
_provinstall(CommandInterpreter interpreter)
Install a given IU to a given profile location.
|
void |
_provlar(CommandInterpreter interpreter)
Lists the known artifact repositories, or the contents of a given artifact
repository.
|
void |
_provlg(CommandInterpreter interpreter)
Lists the group IUs in all known metadata repositories, or in the given
metadata repository.
|
void |
_provlgp(CommandInterpreter interpreter) |
void |
_provliu(CommandInterpreter interpreter)
Lists the installable units that match the given URL, id, and/or version.
|
void |
_provlp(CommandInterpreter interpreter)
Lists the known profiles, or the contents of a given profile.
|
void |
_provlpquery(CommandInterpreter interpreter)
Lists the installable units that match the given profile id and query.
|
void |
_provlpts(CommandInterpreter interpreter)
Lists the profile timestamps for a given profile id, if no profile id, the
default profile is used.
|
void |
_provlquery(CommandInterpreter interpreter)
Lists the installable units that match the given URL and query.
|
void |
_provlr(CommandInterpreter interpreter)
Lists the known metadata repositories, or the contents of a given metadata
repository.
|
void |
_provremove(CommandInterpreter interpreter) |
void |
_provrevert(CommandInterpreter interpreter)
Revert a profile to a given timestamp
|
java.lang.String |
getHelp() |
void |
print(CommandInterpreter interpreter,
IInstallableUnit unit)
Prints a string representation of an
IInstallableUnit to the
iterpreter's output stream. |
void |
println(CommandInterpreter interpreter,
IInstallableUnit unit)
Prints a string representation of an
IInstallableUnit to the
iterpreter's output stream, following by a line terminator |
public static final java.lang.String NEW_LINE
public static final java.lang.String TAB
public ProvCommandProvider(java.lang.String profileId,
IProvisioningAgent agent)
public void _provaddrepo(CommandInterpreter interpreter)
public void _provdelrepo(CommandInterpreter interpreter)
public void _provaddmetadatarepo(CommandInterpreter interpreter)
public void _provdelmetadatarepo(CommandInterpreter interpreter)
public void _provaddartifactrepo(CommandInterpreter interpreter)
public void _provdelartifactrepo(CommandInterpreter interpreter)
public void _provinstall(CommandInterpreter interpreter)
public void _provaddprofile(CommandInterpreter interpreter)
public void _provdelprofile(CommandInterpreter interpreter)
public void _provliu(CommandInterpreter interpreter)
interpreter - public void _provlquery(CommandInterpreter interpreter)
true means "full
query" and false means "e;match query"e;. The
default is false.interpreter - public void _provlr(CommandInterpreter interpreter)
interpreter - public void _provlg(CommandInterpreter interpreter)
interpreter - public void _provlar(CommandInterpreter interpreter)
interpreter - public void _provlp(CommandInterpreter interpreter)
interpreter - public void _provlpts(CommandInterpreter interpreter)
interpreter - public void _provrevert(CommandInterpreter interpreter)
public void _provlgp(CommandInterpreter interpreter)
public void _provlpquery(CommandInterpreter interpreter)
true means "full query" and
false means "e;match query"e;. The default is
false.interpreter - public void _provremove(CommandInterpreter interpreter)
public java.lang.Object _help(CommandInterpreter intp)
intp - public java.lang.String getHelp()
public void print(CommandInterpreter interpreter,
IInstallableUnit unit)
IInstallableUnit to the
iterpreter's output stream.public void println(CommandInterpreter interpreter,
IInstallableUnit unit)
IInstallableUnit to the
iterpreter's output stream, following by a line terminator