public class NWorkspaceExtAdapter extends AbstractNWorkspace implements NWorkspaceExt
| Constructor and Description |
|---|
NWorkspaceExtAdapter(NWorkspaceExt baseExt) |
addInstallListener, addPropertyListener, addRepositoryListener, addWorkspaceListener, callWith, installListeners, isSharedInstance, propertyListeners, removeInstallListener, removePropertyListener, removeRepositoryListener, removeWorkspaceListener, repositoryListeners, runWith, setSharedInstance, share, toString, workspaceListenersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitof, ofcall, get, of, runpublic NWorkspaceExtAdapter(NWorkspaceExt baseExt)
public NBootOptionsInfo getCallerBootOptionsInfo()
getCallerBootOptionsInfo in interface NWorkspaceExtpublic NScopedValue<NSession> sessionScopes()
sessionScopes in interface NWorkspaceExtpublic Map<String,String> getSysEnv()
getSysEnv in interface NWorkspaceExtpublic NApp getApp()
getApp in interface NWorkspaceExtpublic NWorkspaceStore store()
store in interface NWorkspaceExtpublic NText getWelcomeText()
getWelcomeText in interface NWorkspaceExtpublic NText getHelpText()
getHelpText in interface NWorkspaceExtpublic NText getLicenseText()
getLicenseText in interface NWorkspaceExtpublic NText resolveDefaultHelp(Class<?> clazz)
resolveDefaultHelp in interface NWorkspaceExtpublic NId resolveEffectiveId(NDescriptor descriptor)
resolveEffectiveId in interface NWorkspaceExtpublic NIdType resolveNutsIdType(NId id)
resolveNutsIdType in interface NWorkspaceExtpublic NInstallerComponent getInstaller(NDefinition nutToInstall)
getInstaller in interface NWorkspaceExtpublic boolean requiresRuntimeExtension()
NWorkspaceExtNutsConstants.ENV_KEY_EXCLUDE_RUNTIME_EXTENSION is forced to
falserequiresRuntimeExtension in interface NWorkspaceExtpublic NInstalledRepository getInstalledRepository()
getInstalledRepository in interface NWorkspaceExtpublic NInstallStatus getInstallStatus(NId id, boolean checkDependencies)
getInstallStatus in interface NWorkspaceExtpublic NExecutionContextBuilder createExecutionContext()
createExecutionContext in interface NWorkspaceExtpublic void deployBoot(NId def, boolean withDependencies)
deployBoot in interface NWorkspaceExtpublic NSession defaultSession()
defaultSession in interface NWorkspaceExtpublic NWorkspaceModel getModel()
getModel in interface NWorkspaceExtpublic String getInstallationDigest()
getInstallationDigest in interface NWorkspaceExtpublic void setInstallationDigest(String value)
setInstallationDigest in interface NWorkspaceExtpublic DefaultNRepositoryModel getRepositoryModel()
getRepositoryModel in interface NWorkspaceExtpublic DefaultCustomCommandsModel getCommandModel()
getCommandModel in interface NWorkspaceExtpublic DefaultNWorkspaceConfigModel getConfigModel()
getConfigModel in interface NWorkspaceExtpublic DefaultImportModel getImportModel()
getImportModel in interface NWorkspaceExtpublic NDependencySolver createDependencySolver(String solverName)
createDependencySolver in interface NWorkspaceExtpublic List<String> getDependencySolverNames()
getDependencySolverNames in interface NWorkspaceExtpublic DefaultNWorkspaceLocationModel getLocationModel()
getLocationModel in interface NWorkspaceExtpublic NDescriptor resolveEffectiveDescriptor(NDescriptor descriptor, NDescriptorEffectiveConfig effectiveNDescriptorConfig)
resolveEffectiveDescriptor in interface NWorkspacepublic void runApplication(NApplicationHandleMode handleMode)
runApplication in interface NWorkspacepublic NDescriptor resolveEffectiveDescriptor(NDescriptor descriptor)
resolveEffectiveDescriptor in interface NWorkspacepublic String uuid()
uuid in interface NWorkspacepublic String name()
name in interface NWorkspacepublic String digestName()
digestName in interface NWorkspacepublic NVersion apiVersion()
apiVersion in interface NWorkspacepublic NVersion bootVersion()
bootVersion in interface NWorkspacepublic NId apiId()
apiId in interface NWorkspacepublic NId appId()
appId in interface NWorkspacepublic NId runtimeId()
runtimeId in interface NWorkspacepublic NPath location()
location in interface NWorkspacepublic NSession createSession()
createSession in interface NWorkspacepublic NSession currentSession()
currentSession in interface NWorkspacepublic NExtensions extensions()
extensions in interface NWorkspacepublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface NWorkspaceclose in class AbstractNWorkspacepublic NRepository addRepository(NRepositorySpec options)
addRepository in interface NWorkspacepublic NRepository addRepository(String repositoryNamedUrl)
addRepository in interface NWorkspacepublic NOptional<NRepository> findRepositoryById(String repositoryIdOrName)
findRepositoryById in interface NWorkspacepublic NOptional<NRepository> findRepositoryByName(String repositoryIdOrName)
findRepositoryByName in interface NWorkspacepublic NOptional<NRepository> getRepository(String repositoryIdOrName)
getRepository in interface NWorkspacepublic NWorkspace removeRepository(String locationOrRepositoryId)
removeRepository in interface NWorkspacepublic List<NRepository> repositories()
repositories in interface NWorkspacepublic NWorkspace removeAllRepositories()
removeAllRepositories in interface NWorkspacepublic Map<String,Object> properties()
properties in interface NWorkspacepublic NOptional<Object> getProperty(String property)
getProperty in interface NWorkspacepublic <T> NOptional<T> getProperty(Class<T> propertyTypeAndName)
getProperty in interface NWorkspacepublic NWorkspace setProperty(String property, Object value)
setProperty in interface NWorkspacepublic <T> T getOrComputeProperty(Class<T> property, Supplier<T> supplier)
getOrComputeProperty in interface NWorkspacepublic <T> T getOrComputeProperty(String property, Supplier<T> supplier)
getOrComputeProperty in interface NWorkspacepublic String pid()
pid in interface NWorkspacepublic void addLauncher(NLauncherOptions launcher)
addLauncher in interface NWorkspacepublic List<String> buildEffectiveCommand(String[] cmd, NRunAs runAsMode, Set<NDesktopEnvironmentFamily> de, Function<String,String> sysWhich, Boolean gui, String rootName, String userName, String[] executorOptions)
buildEffectiveCommand in interface NWorkspacepublic NPath getHomeLocation(NStoreType folderType)
getHomeLocation in interface NWorkspacepublic NStoreStrategy storeStrategy()
storeStrategy in interface NWorkspacepublic NWorkspace storeStrategy(NStoreStrategy strategy)
storeStrategy in interface NWorkspacepublic NStoreStrategy repositoryStoreStrategy()
repositoryStoreStrategy in interface NWorkspacepublic NOsFamily storeLayout()
storeLayout in interface NWorkspacepublic NWorkspace storeLayout(NOsFamily storeLayout)
storeLayout in interface NWorkspacepublic Map<NStoreType,String> storeLocations()
storeLocations in interface NWorkspacepublic String getDefaultIdFilename(NId id)
getDefaultIdFilename in interface NWorkspacepublic NPath getDefaultIdBasedir(NId id)
getDefaultIdBasedir in interface NWorkspacepublic String getDefaultIdContentExtension(String packaging)
getDefaultIdContentExtension in interface NWorkspacepublic String getDefaultIdExtension(NId id)
getDefaultIdExtension in interface NWorkspacepublic Map<NHomeLocation,String> homeLocations()
homeLocations in interface NWorkspacepublic NPath getHomeLocation(NHomeLocation location)
getHomeLocation in interface NWorkspacepublic NPath workspaceLocation()
workspaceLocation in interface NWorkspacepublic NWorkspace setStoreLocation(NStoreType folderType, String location)
setStoreLocation in interface NWorkspacepublic NWorkspace setHomeLocation(NHomeLocation homeType, String location)
setHomeLocation in interface NWorkspacepublic NOptional<String> findSysCommand(String name)
findSysCommand in interface NWorkspacepublic NWorkspace addImports(String... importExpression)
addImports in interface NWorkspacepublic NWorkspace clearImports()
clearImports in interface NWorkspacepublic NWorkspace removeImports(String... importExpression)
removeImports in interface NWorkspacepublic NWorkspace updateImports(String[] imports)
updateImports in interface NWorkspacepublic Set<String> allImports()
allImports in interface NWorkspacepublic boolean isImportedGroupId(String groupId)
isImportedGroupId in interface NWorkspacepublic NWorkspaceStoredConfig storedConfig()
storedConfig in interface NWorkspacepublic boolean isReadOnly()
isReadOnly in interface NWorkspacepublic boolean saveConfig(boolean force)
saveConfig in interface NWorkspacepublic boolean saveConfig()
saveConfig in interface NWorkspacepublic NWorkspaceBootConfig loadBootConfig(String path, boolean global, boolean followLinks)
loadBootConfig in interface NWorkspacepublic boolean isSupportedRepositoryType(String repositoryType)
isSupportedRepositoryType in interface NWorkspacepublic List<NRepositorySpec> defaultRepositories()
defaultRepositories in interface NWorkspacepublic Set<String> availableArchetypes()
availableArchetypes in interface NWorkspacepublic NPath resolveRepositoryPath(String repositoryLocation)
resolveRepositoryPath in interface NWorkspacepublic NIndexStoreFactory indexStoreClientFactory()
indexStoreClientFactory in interface NWorkspacepublic String javaCommand()
javaCommand in interface NWorkspacepublic String javaOptions()
javaOptions in interface NWorkspacepublic boolean isSystemWorkspace()
isSystemWorkspace in interface NWorkspacepublic Map<String,String> configMap()
configMap in interface NWorkspacepublic NOptional<NLiteral> getConfigProperty(String property)
getConfigProperty in interface NWorkspacepublic NWorkspace setConfigProperty(String property, String value)
setConfigProperty in interface NWorkspacepublic List<NCommandFactoryConfig> commandFactories()
commandFactories in interface NWorkspacepublic void addCommandFactory(NCommandFactoryConfig commandFactory)
addCommandFactory in interface NWorkspacepublic void removeCommandFactory(String commandFactoryId)
removeCommandFactory in interface NWorkspacepublic boolean removeCommandFactoryIfExists(String commandFactoryId)
removeCommandFactoryIfExists in interface NWorkspacepublic boolean commandExists(String command)
commandExists in interface NWorkspacepublic boolean commandFactoryExists(String command)
commandFactoryExists in interface NWorkspacepublic boolean addCommand(NCommandConfig command)
addCommand in interface NWorkspacepublic boolean updateCommand(NCommandConfig command)
updateCommand in interface NWorkspacepublic void removeCommand(String command)
removeCommand in interface NWorkspacepublic boolean removeCommandIfExists(String name)
removeCommandIfExists in interface NWorkspacepublic NCustomCmd findCommand(String name, NId forId, NId forOwner)
findCommand in interface NWorkspacepublic NCustomCmd findCommand(String name)
findCommand in interface NWorkspacepublic List<NCustomCmd> findAllCommands()
findAllCommands in interface NWorkspacepublic List<NCustomCmd> findCommandsByOwner(NId id)
findCommandsByOwner in interface NWorkspacepublic boolean isFirstBoot()
isFirstBoot in interface NWorkspacepublic NOptional<NLiteral> getCustomBootOption(String... names)
getCustomBootOption in interface NWorkspacepublic NBootOptions bootOptions()
bootOptions in interface NWorkspacepublic ClassLoader bootClassLoader()
bootClassLoader in interface NWorkspacepublic List<URL> bootClassWorldURLs()
bootClassWorldURLs in interface NWorkspacepublic List<String> bootRepositories()
bootRepositories in interface NWorkspacepublic Instant creationStartTime()
creationStartTime in interface NWorkspacepublic Instant creationFinishTime()
creationFinishTime in interface NWorkspacepublic NDuration creationDuration()
creationDuration in interface NWorkspacepublic NClassLoaderNode bootRuntimeClassLoaderNode()
bootRuntimeClassLoaderNode in interface NWorkspacepublic List<NClassLoaderNode> bootExtensionClassLoaderNodes()
bootExtensionClassLoaderNodes in interface NWorkspacepublic NWorkspaceTerminalOptions bootTerminal()
bootTerminal in interface NWorkspacepublic void runBootCommand()
runBootCommand in interface NWorkspaceBaseCopyright © 2026 vpc open source initiative. All rights reserved.