public class NutsWorkspaceUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NutsWorkspaceUtils.Events |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.NutsLogger |
_LOG(net.thevpc.nuts.NutsSession session) |
protected net.thevpc.nuts.NutsLoggerOp |
_LOGOP(net.thevpc.nuts.NutsSession session) |
static net.thevpc.nuts.NutsSession |
bindSession(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsSession session) |
void |
checkLongId(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session) |
void |
checkNutsId(net.thevpc.nuts.NutsId id) |
static void |
checkNutsIdBase(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsId id) |
void |
checkReadOnly() |
static void |
checkSession(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsSession session) |
void |
checkShortId(net.thevpc.nuts.NutsId id) |
net.thevpc.nuts.NutsId |
configureFetchEnv(net.thevpc.nuts.NutsId id) |
net.thevpc.nuts.NutsId |
createSdkId(String type,
String version) |
<T> net.thevpc.nuts.NutsIterator<T> |
decoratePrint(net.thevpc.nuts.NutsIterator<T> it,
net.thevpc.nuts.NutsSession session,
NutsFetchDisplayOptions displayOptions) |
static net.thevpc.nuts.NutsSession |
defaultSession(net.thevpc.nuts.NutsWorkspace ws)
used only for exceptions and logger when a session is not available
|
NutsWorkspaceUtils.Events |
events() |
List<net.thevpc.nuts.NutsRepository> |
filterRepositoriesDeploy(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsRepositoryFilter repositoryFilter) |
List<NutsRepositoryAndFetchMode> |
filterRepositoryAndFetchModes(NutsRepositorySupportedAction fmode,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsRepositoryFilter repositoryFilter,
net.thevpc.nuts.NutsFetchStrategy fetchStrategy,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsDescriptor |
getEffectiveDescriptor(net.thevpc.nuts.NutsDefinition def) |
ReflectRepository |
getReflectRepository() |
void |
installAllJVM() |
void |
installCompanions() |
void |
installCurrentJVM() |
void |
installLaunchers(boolean gui) |
static boolean |
isUserDefaultWorkspace(net.thevpc.nuts.NutsSession session) |
static NutsWorkspaceUtils |
of(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.spi.NutsRepositorySPI |
repoSPI(net.thevpc.nuts.NutsRepository repo) |
static boolean |
setSession(Object o,
net.thevpc.nuts.NutsSession session) |
void |
validateRepositoryName(String repositoryName,
Set<String> registered,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsSession |
validateSession(net.thevpc.nuts.NutsSession session) |
public static NutsWorkspaceUtils of(net.thevpc.nuts.NutsSession session)
public static net.thevpc.nuts.NutsSession defaultSession(net.thevpc.nuts.NutsWorkspace ws)
ws - workspacepublic static net.thevpc.nuts.NutsSession bindSession(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsSession session)
public static void checkSession(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsSession session)
public static void checkNutsIdBase(net.thevpc.nuts.NutsWorkspace ws,
net.thevpc.nuts.NutsId id)
public static boolean setSession(Object o, net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsLoggerOp _LOGOP(net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsLogger _LOG(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.spi.NutsRepositorySPI repoSPI(net.thevpc.nuts.NutsRepository repo)
public ReflectRepository getReflectRepository()
public void checkReadOnly()
public net.thevpc.nuts.NutsSession validateSession(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsId configureFetchEnv(net.thevpc.nuts.NutsId id)
public List<net.thevpc.nuts.NutsRepository> filterRepositoriesDeploy(net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsRepositoryFilter repositoryFilter)
public List<NutsRepositoryAndFetchMode> filterRepositoryAndFetchModes(NutsRepositorySupportedAction fmode, net.thevpc.nuts.NutsId id, net.thevpc.nuts.NutsRepositoryFilter repositoryFilter, net.thevpc.nuts.NutsFetchStrategy fetchStrategy, net.thevpc.nuts.NutsSession session)
public void checkShortId(net.thevpc.nuts.NutsId id)
public void checkLongId(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsSession session)
public void validateRepositoryName(String repositoryName, Set<String> registered, net.thevpc.nuts.NutsSession session)
public <T> net.thevpc.nuts.NutsIterator<T> decoratePrint(net.thevpc.nuts.NutsIterator<T> it,
net.thevpc.nuts.NutsSession session,
NutsFetchDisplayOptions displayOptions)
public net.thevpc.nuts.NutsDescriptor getEffectiveDescriptor(net.thevpc.nuts.NutsDefinition def)
public void checkNutsId(net.thevpc.nuts.NutsId id)
public NutsWorkspaceUtils.Events events()
public void installAllJVM()
public void installCurrentJVM()
public void installLaunchers(boolean gui)
public static boolean isUserDefaultWorkspace(net.thevpc.nuts.NutsSession session)
public void installCompanions()
Copyright © 2022 vpc open source initiative. All rights reserved.