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