public class DefaultNutsWorkspace extends AbstractNutsWorkspace implements NutsWorkspaceExt
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNutsWorkspace.InstallStrategy0 |
bootModel, initializing, initSession| Constructor and Description |
|---|
DefaultNutsWorkspace(net.thevpc.nuts.NutsWorkspaceInitInformation 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.NutsWorkspaceAppsManager |
apps() |
net.thevpc.nuts.NutsBootManager |
boot() |
net.thevpc.nuts.NutsCommandLineManager |
commandLine() |
net.thevpc.nuts.NutsCustomCommandManager |
commands() |
net.thevpc.nuts.NutsConcurrentManager |
concurrent() |
net.thevpc.nuts.NutsWorkspaceConfigManager |
config() |
NutsExecutionContextBuilder |
createExecutionContext() |
net.thevpc.nuts.NutsDependencyManager |
dependency() |
net.thevpc.nuts.NutsDeployCommand |
deploy() |
void |
deployBoot(net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsId id,
boolean withDependencies) |
net.thevpc.nuts.NutsDescriptorManager |
descriptor() |
net.thevpc.nuts.NutsElementFormat |
elem() |
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() |
net.thevpc.nuts.NutsFilterManager |
filters() |
net.thevpc.nuts.NutsFormatManager |
formats() |
DefaultCustomCommandsModel |
getAliasesModel() |
net.thevpc.nuts.NutsId |
getApiId() |
net.thevpc.nuts.NutsVersion |
getApiVersion() |
Set<net.thevpc.nuts.NutsId> |
getCompanionIds(net.thevpc.nuts.NutsSession session) |
DefaultNutsWorkspaceConfigModel |
getConfigModel() |
DefaultNutsWorkspaceEnvManagerModel |
getEnvModel() |
String |
getHashName() |
String |
getHelpText(net.thevpc.nuts.NutsSession session) |
DefaultImportModel |
getImportModel() |
NutsInstalledRepository |
getInstalledRepository() |
net.thevpc.nuts.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) |
String |
getLocation() |
String |
getName() |
net.thevpc.nuts.NutsId |
getRuntimeId() |
int |
getSupportLevel(net.thevpc.nuts.NutsSupportLevelContext<net.thevpc.nuts.NutsWorkspaceOptions> criteria) |
String |
getUuid() |
String |
getWelcomeText(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsIdManager |
id() |
net.thevpc.nuts.NutsImportManager |
imports() |
net.thevpc.nuts.NutsInfoFormat |
info() |
protected void |
initializeWorkspace(String archetype,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsInstallCommand |
install() |
void |
installCompanions(net.thevpc.nuts.NutsSession session) |
void |
installImpl(net.thevpc.nuts.NutsDefinition def,
String[] args,
net.thevpc.nuts.NutsInstallerComponent installerComponent,
net.thevpc.nuts.NutsSession session,
boolean updateDefaultVersion) |
void |
installOrUpdateImpl(net.thevpc.nuts.NutsDefinition def,
String[] args,
net.thevpc.nuts.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) |
net.thevpc.nuts.NutsIOManager |
io() |
protected boolean |
loadWorkspace(net.thevpc.nuts.NutsSession session,
String[] excludedExtensions,
String[] excludedRepositories) |
net.thevpc.nuts.NutsWorkspaceLocationManager |
locations() |
net.thevpc.nuts.NutsLogManager |
log() |
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.NutsSdkManager |
sdks() |
net.thevpc.nuts.NutsSearchCommand |
search() |
net.thevpc.nuts.NutsWorkspaceSecurityManager |
security() |
net.thevpc.nuts.NutsTerminalManager |
term() |
net.thevpc.nuts.NutsTextManager |
text() |
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.NutsInstallerComponent installerComponent,
net.thevpc.nuts.NutsSession session,
boolean updateDefaultVersion) |
net.thevpc.nuts.NutsUpdateStatisticsCommand |
updateStatistics() |
net.thevpc.nuts.NutsVersionManager |
version() |
createSession, defaultSession, isInitializingclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultSession, 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
protected DefaultNutsWorkspaceSecurityModel securityModel
protected DefaultNutsFilterModel filtersModel
protected DefaultNutsWorkspaceConfigModel configModel
protected DefaultNutsWorkspaceLocationModel locationsModel
protected DefaultNutsRepositoryModel repositoryModel
protected DefaultNutsWorkspaceEventModel eventsModel
protected DefaultNutsTextManagerModel textModel
protected DefaultNutsIOModel ioModel
protected DefaultNutsSdkModel sdkModel
protected DefaultNutsTerminalModel termModel
protected String uuid
protected String location
protected String name
protected net.thevpc.nuts.NutsVersion apiVersion
protected net.thevpc.nuts.NutsId apiId
protected net.thevpc.nuts.NutsId runtimeId
public DefaultNutsWorkspace(net.thevpc.nuts.NutsWorkspaceInitInformation info)
public void installCompanions(net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsDescriptor _resolveEffectiveDescriptor(net.thevpc.nuts.NutsDescriptor descriptor,
net.thevpc.nuts.NutsSession session)
public int getSupportLevel(net.thevpc.nuts.NutsSupportLevelContext<net.thevpc.nuts.NutsWorkspaceOptions> criteria)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponent<net.thevpc.nuts.NutsWorkspaceOptions>getSupportLevel in class AbstractNutsWorkspacepublic String toString()
toString in class AbstractNutsWorkspaceprotected void initializeWorkspace(String archetype, net.thevpc.nuts.NutsSession session)
public void installOrUpdateImpl(net.thevpc.nuts.NutsDefinition def,
String[] args,
net.thevpc.nuts.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.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.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.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 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 String getLocation()
getLocation in interface net.thevpc.nuts.NutsWorkspacepublic Set<net.thevpc.nuts.NutsId> getCompanionIds(net.thevpc.nuts.NutsSession session)
getCompanionIds 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.NutsWorkspaceAppsManager apps()
apps 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.NutsFilterManager filters()
filters in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsIOManager io()
io in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsLogManager log()
log in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsWorkspaceEventManager events()
events in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsCommandLineManager commandLine()
commandLine in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsIdManager id()
id in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsVersionManager version()
version in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsInfoFormat info()
info in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsDescriptorManager descriptor()
descriptor in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsDependencyManager dependency()
dependency in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsFormatManager formats()
formats in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsConcurrentManager concurrent()
concurrent in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsSdkManager sdks()
sdks 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 net.thevpc.nuts.NutsTerminalManager term()
term in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsTextManager text()
text in interface net.thevpc.nuts.NutsWorkspacepublic net.thevpc.nuts.NutsElementFormat elem()
elem in interface net.thevpc.nuts.NutsWorkspacepublic DefaultNutsWorkspaceEnvManagerModel getEnvModel()
public DefaultCustomCommandsModel getAliasesModel()
public DefaultNutsWorkspaceConfigModel getConfigModel()
public DefaultImportModel getImportModel()
Copyright © 2021 vpc open source initiative. All rights reserved.