public class DefaultNutsWorkspace extends AbstractNutsWorkspace implements NutsWorkspaceExt
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNutsWorkspace.InstallStrategy0 |
| Modifier and Type | Field and Description |
|---|---|
net.thevpc.nuts.NutsLogger |
LOG |
static String |
VERSION_COMMAND_ALIAS_CONFIG |
static String |
VERSION_COMMAND_ALIAS_CONFIG_FACTORY |
static String |
VERSION_INSTALL_INFO_CONFIG |
static String |
VERSION_REPOSITORY_CONFIG |
static String |
VERSION_REPOSITORY_REF |
static String |
VERSION_SDK_LOCATION |
static String |
VERSION_USER_CONFIG |
static String |
VERSION_WS_CONFIG_API |
static String |
VERSION_WS_CONFIG_BOOT |
static String |
VERSION_WS_CONFIG_MAIN |
static String |
VERSION_WS_CONFIG_RUNTIME |
static String |
VERSION_WS_CONFIG_SECURITY |
| Constructor and Description |
|---|
DefaultNutsWorkspace(net.thevpc.nuts.NutsBootOptions info) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.NutsDescriptor |
_resolveEffectiveDescriptor(net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsBootManager |
boot() |
net.thevpc.nuts.NutsCustomCommandManager |
commands() |
net.thevpc.nuts.NutsWorkspaceConfigManager |
config() |
NutsExecutionContextBuilder |
createExecutionContext() |
net.thevpc.nuts.NutsSession |
createSession() |
net.thevpc.nuts.NutsSession |
defaultSession() |
net.thevpc.nuts.NutsDeployCommand |
deploy() |
void |
deployBoot(net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsId id,
boolean withDependencies) |
net.thevpc.nuts.NutsWorkspaceEnvManager |
env() |
net.thevpc.nuts.NutsWorkspaceEventManager |
events() |
net.thevpc.nuts.NutsExecCommand |
exec() |
net.thevpc.nuts.NutsWorkspaceExtensionManager |
extensions() |
net.thevpc.nuts.NutsFetchCommand |
fetch() |
DefaultCustomCommandsModel |
getAliasesModel() |
net.thevpc.nuts.NutsId |
getApiId() |
net.thevpc.nuts.NutsVersion |
getApiVersion() |
DefaultNutsWorkspaceConfigModel |
getConfigModel() |
DefaultNutsWorkspaceEnvManagerModel |
getEnvModel() |
String |
getHashName() |
String |
getHelpText(net.thevpc.nuts.NutsSession session) |
DefaultImportModel |
getImportModel() |
NutsInstalledRepository |
getInstalledRepository() |
net.thevpc.nuts.spi.NutsInstallerComponent |
getInstaller(net.thevpc.nuts.NutsDefinition nutToInstall,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsInstallStatus |
getInstallStatus(net.thevpc.nuts.NutsId id,
boolean checkDependencies,
net.thevpc.nuts.NutsSession session) |
String |
getLicenseText(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsPath |
getLocation() |
NutsWorkspaceModel |
getModel() |
String |
getName() |
net.thevpc.nuts.NutsId |
getRuntimeId() |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext criteria) |
String |
getUuid() |
String |
getWelcomeText(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsImportManager |
imports() |
net.thevpc.nuts.NutsInfoCommand |
info() |
protected net.thevpc.nuts.spi.NutsWorkspaceArchetypeComponent |
initializeWorkspace(String archetype,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsInstallCommand |
install() |
void |
installImpl(net.thevpc.nuts.NutsDefinition def,
String[] args,
net.thevpc.nuts.spi.NutsInstallerComponent installerComponent,
net.thevpc.nuts.NutsSession session,
boolean updateDefaultVersion) |
void |
installOrUpdateImpl(net.thevpc.nuts.NutsDefinition def,
String[] args,
net.thevpc.nuts.spi.NutsInstallerComponent installerComponent,
net.thevpc.nuts.NutsSession session,
boolean resolveInstaller,
boolean updateDefaultVersion,
DefaultNutsWorkspace.InstallStrategy0 strategy0,
boolean requireDependencies,
net.thevpc.nuts.NutsId[] forIds,
net.thevpc.nuts.NutsDependencyScope scope) |
protected boolean |
loadWorkspace(net.thevpc.nuts.NutsSession session,
String[] excludedExtensions,
String[] excludedRepositories) |
net.thevpc.nuts.NutsWorkspaceLocationManager |
locations() |
net.thevpc.nuts.NutsPushCommand |
push() |
net.thevpc.nuts.NutsRepositoryManager |
repos() |
void |
requireImpl(net.thevpc.nuts.NutsDefinition def,
net.thevpc.nuts.NutsSession session,
boolean withDependencies,
net.thevpc.nuts.NutsId[] forId) |
boolean |
requiresRuntimeExtension(net.thevpc.nuts.NutsSession session)
true when core extension is required for running this workspace.
|
String |
resolveCommandName(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
String |
resolveDefaultHelp(Class clazz,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsDescriptor |
resolveEffectiveDescriptor(net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsId |
resolveEffectiveId(net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsIdType |
resolveNutsIdType(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsSearchCommand |
search() |
net.thevpc.nuts.NutsWorkspaceSecurityManager |
security() |
String |
toString() |
net.thevpc.nuts.NutsUndeployCommand |
undeploy() |
net.thevpc.nuts.NutsUninstallCommand |
uninstall() |
net.thevpc.nuts.NutsUpdateCommand |
update() |
void |
updateImpl(net.thevpc.nuts.NutsDefinition def,
String[] args,
net.thevpc.nuts.spi.NutsInstallerComponent installerComponent,
net.thevpc.nuts.NutsSession session,
boolean updateDefaultVersion) |
net.thevpc.nuts.NutsUpdateStatisticsCommand |
updateStatistics() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitof, ofpublic static final String VERSION_INSTALL_INFO_CONFIG
public static final String VERSION_SDK_LOCATION
public static final String VERSION_REPOSITORY_CONFIG
public static final String VERSION_REPOSITORY_REF
public static final String VERSION_WS_CONFIG_API
public static final String VERSION_WS_CONFIG_BOOT
public static final String VERSION_WS_CONFIG_MAIN
public static final String VERSION_WS_CONFIG_RUNTIME
public static final String VERSION_WS_CONFIG_SECURITY
public static final String VERSION_COMMAND_ALIAS_CONFIG
public static final String VERSION_COMMAND_ALIAS_CONFIG_FACTORY
public static final String VERSION_USER_CONFIG
public net.thevpc.nuts.NutsLogger LOG
public DefaultNutsWorkspace(net.thevpc.nuts.NutsBootOptions info)
protected net.thevpc.nuts.NutsDescriptor _resolveEffectiveDescriptor(net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsSession session)
public int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext criteria)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentgetSupportLevel in class AbstractNutsWorkspacepublic String toString()
toString in class AbstractNutsWorkspaceprotected net.thevpc.nuts.spi.NutsWorkspaceArchetypeComponent initializeWorkspace(String archetype, net.thevpc.nuts.NutsSession session)
public void installOrUpdateImpl(net.thevpc.nuts.NutsDefinition def,
String[] args,
net.thevpc.nuts.spi.NutsInstallerComponent installerComponent,
net.thevpc.nuts.NutsSession session,
boolean resolveInstaller,
boolean updateDefaultVersion,
DefaultNutsWorkspace.InstallStrategy0 strategy0,
boolean requireDependencies,
net.thevpc.nuts.NutsId[] forIds,
net.thevpc.nuts.NutsDependencyScope scope)
public String resolveCommandName(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsSession session)
protected boolean loadWorkspace(net.thevpc.nuts.NutsSession session,
String[] excludedExtensions,
String[] excludedRepositories)
public String getWelcomeText(net.thevpc.nuts.NutsSession session)
getWelcomeText in interface NutsWorkspaceExtpublic String getHelpText(net.thevpc.nuts.NutsSession session)
getHelpText in interface NutsWorkspaceExtpublic String getLicenseText(net.thevpc.nuts.NutsSession session)
getLicenseText in interface NutsWorkspaceExtpublic String resolveDefaultHelp(Class clazz, net.thevpc.nuts.NutsSession session)
resolveDefaultHelp in interface NutsWorkspaceExtpublic net.thevpc.nuts.NutsId resolveEffectiveId(net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsSession session)
resolveEffectiveId in interface NutsWorkspaceExtpublic net.thevpc.nuts.NutsIdType resolveNutsIdType(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
resolveNutsIdType in interface NutsWorkspaceExtpublic net.thevpc.nuts.spi.NutsInstallerComponent getInstaller(net.thevpc.nuts.NutsDefinition nutToInstall,
net.thevpc.nuts.NutsSession session)
getInstaller in interface NutsWorkspaceExtpublic void requireImpl(net.thevpc.nuts.NutsDefinition def,
net.thevpc.nuts.NutsSession session,
boolean withDependencies,
net.thevpc.nuts.NutsId[] forId)
requireImpl in interface NutsWorkspaceExtpublic void installImpl(net.thevpc.nuts.NutsDefinition def,
String[] args,
net.thevpc.nuts.spi.NutsInstallerComponent installerComponent,
net.thevpc.nuts.NutsSession session,
boolean updateDefaultVersion)
installImpl in interface NutsWorkspaceExtpublic void updateImpl(net.thevpc.nuts.NutsDefinition def,
String[] args,
net.thevpc.nuts.spi.NutsInstallerComponent installerComponent,
net.thevpc.nuts.NutsSession session,
boolean updateDefaultVersion)
updateImpl in interface NutsWorkspaceExtpublic boolean requiresRuntimeExtension(net.thevpc.nuts.NutsSession session)
NutsConstants.ENV_KEY_EXCLUDE_RUNTIME_EXTENSION is forced to
falserequiresRuntimeExtension in interface NutsWorkspaceExtsession - sessionpublic net.thevpc.nuts.NutsDescriptor resolveEffectiveDescriptor(net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsSession session)
resolveEffectiveDescriptor in interface NutsWorkspaceExtpublic NutsInstalledRepository getInstalledRepository()
getInstalledRepository in interface NutsWorkspaceExtpublic net.thevpc.nuts.NutsInstallStatus getInstallStatus(net.thevpc.nuts.NutsId id,
boolean checkDependencies,
net.thevpc.nuts.NutsSession session)
getInstallStatus in interface NutsWorkspaceExtpublic NutsExecutionContextBuilder createExecutionContext()
createExecutionContext in interface NutsWorkspaceExtpublic void deployBoot(net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsId id,
boolean withDependencies)
deployBoot in interface NutsWorkspaceExtpublic net.thevpc.nuts.NutsSession defaultSession()
defaultSession in interface NutsWorkspaceExtpublic NutsWorkspaceModel getModel()
getModel in interface NutsWorkspaceExtpublic String getUuid()
getUuid in interface net.thevpc.nuts.NutsWorkspacepublic String getName()
getName in interface net.thevpc.nuts.NutsWorkspacepublic String getHashName()
getHashName in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsVersion getApiVersion()
getApiVersion in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsId getApiId()
getApiId in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsId getRuntimeId()
getRuntimeId in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsPath getLocation()
getLocation in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsSession createSession()
createSession in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsSearchCommand search()
search in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsFetchCommand fetch()
fetch in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsDeployCommand deploy()
deploy in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsUndeployCommand undeploy()
undeploy in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsExecCommand exec()
exec in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsInstallCommand install()
install in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsUninstallCommand uninstall()
uninstall in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsUpdateCommand update()
update in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsPushCommand push()
push in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsUpdateStatisticsCommand updateStatistics()
updateStatistics in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsInfoCommand info()
info in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsWorkspaceExtensionManager extensions()
extensions in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsWorkspaceConfigManager config()
config in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsRepositoryManager repos()
repos in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsWorkspaceSecurityManager security()
security in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsWorkspaceEventManager events()
events in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsImportManager imports()
imports in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsCustomCommandManager commands()
commands in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsWorkspaceLocationManager locations()
locations in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsWorkspaceEnvManager env()
env in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsBootManager boot()
boot in interface net.thevpc.nuts.NutsWorkspacepublic DefaultNutsWorkspaceEnvManagerModel getEnvModel()
public DefaultCustomCommandsModel getAliasesModel()
public DefaultNutsWorkspaceConfigModel getConfigModel()
public DefaultImportModel getImportModel()
Copyright © 2022 vpc open source initiative. All rights reserved.