public class DefaultNPlatformModel extends Object
| Constructor and Description |
|---|
DefaultNPlatformModel(DefaultNWorkspaceEnvManagerModel model) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add0(net.thevpc.nuts.NPlatformLocation location,
boolean notify) |
boolean |
addPlatform(net.thevpc.nuts.NPlatformLocation location) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> |
findOnePlatform(net.thevpc.nuts.NPlatformFamily type,
Predicate<net.thevpc.nuts.NPlatformLocation> filter) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> |
findPlatform(net.thevpc.nuts.NPlatformLocation location) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> |
findPlatformByName(net.thevpc.nuts.NPlatformFamily type,
String locationName) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> |
findPlatformByPath(net.thevpc.nuts.NPlatformFamily type,
net.thevpc.nuts.io.NPath path) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> |
findPlatformByVersion(net.thevpc.nuts.NPlatformFamily type,
net.thevpc.nuts.NVersionFilter versionFilter) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> |
findPlatformByVersion(net.thevpc.nuts.NPlatformFamily type,
String version) |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.NPlatformLocation> |
findPlatforms(net.thevpc.nuts.NPlatformFamily type,
Predicate<net.thevpc.nuts.NPlatformLocation> filter) |
Map<net.thevpc.nuts.NPlatformFamily,List<net.thevpc.nuts.NPlatformLocation>> |
getPlatforms() |
net.thevpc.nuts.NWorkspace |
getWorkspace() |
boolean |
removePlatform(net.thevpc.nuts.NPlatformLocation location) |
net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> |
resolvePlatform(net.thevpc.nuts.NPlatformFamily platformType,
net.thevpc.nuts.io.NPath path,
String preferredName) |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.NPlatformLocation> |
searchSystemPlatforms(net.thevpc.nuts.NPlatformFamily platformType) |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.NPlatformLocation> |
searchSystemPlatforms(net.thevpc.nuts.NPlatformFamily platformType,
net.thevpc.nuts.io.NPath path) |
void |
setPlatforms(net.thevpc.nuts.NPlatformLocation[] locations) |
boolean |
updatePlatform(net.thevpc.nuts.NPlatformLocation oldLocation,
net.thevpc.nuts.NPlatformLocation newLocation) |
public DefaultNPlatformModel(DefaultNWorkspaceEnvManagerModel model)
public net.thevpc.nuts.NWorkspace getWorkspace()
public boolean addPlatform(net.thevpc.nuts.NPlatformLocation location)
public boolean add0(net.thevpc.nuts.NPlatformLocation location,
boolean notify)
public boolean updatePlatform(net.thevpc.nuts.NPlatformLocation oldLocation,
net.thevpc.nuts.NPlatformLocation newLocation)
public boolean removePlatform(net.thevpc.nuts.NPlatformLocation location)
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> findPlatformByName(net.thevpc.nuts.NPlatformFamily type,
String locationName)
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> findPlatformByPath(net.thevpc.nuts.NPlatformFamily type,
net.thevpc.nuts.io.NPath path)
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> findPlatformByVersion(net.thevpc.nuts.NPlatformFamily type,
String version)
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> findPlatform(net.thevpc.nuts.NPlatformLocation location)
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> findPlatformByVersion(net.thevpc.nuts.NPlatformFamily type,
net.thevpc.nuts.NVersionFilter versionFilter)
public net.thevpc.nuts.util.NStream<net.thevpc.nuts.NPlatformLocation> searchSystemPlatforms(net.thevpc.nuts.NPlatformFamily platformType)
public net.thevpc.nuts.util.NStream<net.thevpc.nuts.NPlatformLocation> searchSystemPlatforms(net.thevpc.nuts.NPlatformFamily platformType,
net.thevpc.nuts.io.NPath path)
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> resolvePlatform(net.thevpc.nuts.NPlatformFamily platformType,
net.thevpc.nuts.io.NPath path,
String preferredName)
public void setPlatforms(net.thevpc.nuts.NPlatformLocation[] locations)
public net.thevpc.nuts.util.NOptional<net.thevpc.nuts.NPlatformLocation> findOnePlatform(net.thevpc.nuts.NPlatformFamily type,
Predicate<net.thevpc.nuts.NPlatformLocation> filter)
public net.thevpc.nuts.util.NStream<net.thevpc.nuts.NPlatformLocation> findPlatforms(net.thevpc.nuts.NPlatformFamily type,
Predicate<net.thevpc.nuts.NPlatformLocation> filter)
Copyright © 2025 vpc open source initiative. All rights reserved.