Uses of Class
net.ssehub.easy.producer.core.persistence.Configuration.PathKind
-
Packages that use Configuration.PathKind Package Description net.ssehub.easy.producer.core.persistence This plug-in contains functionality of EASy, which can also run without Eclipse.net.ssehub.easy.producer.core.persistence.standard This package contains classes which specific to the persistencer of this plug-in.net.ssehub.easy.producer.core.varMod.container IModelcontainer for simplifying the usage of the differentIModels in EASy-Producer projects. -
-
Uses of Configuration.PathKind in net.ssehub.easy.producer.core.persistence
Fields in net.ssehub.easy.producer.core.persistence with type parameters of type Configuration.PathKind Modifier and Type Field Description private java.util.Map<Configuration.PathKind,java.util.List<java.lang.String>>Configuration. pathsMethods in net.ssehub.easy.producer.core.persistence that return Configuration.PathKind Modifier and Type Method Description static Configuration.PathKindConfiguration.PathKind. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Configuration.PathKind[]Configuration.PathKind. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.ssehub.easy.producer.core.persistence with parameters of type Configuration.PathKind Modifier and Type Method Description static voidPersistenceUtils. addLocations(Configuration config, Configuration.PathKind kind, net.ssehub.easy.basics.modelManagement.ModelLocations<?> locations, net.ssehub.easy.basics.progress.ProgressObserver observer)Updates the paths.java.lang.StringConfiguration. combinePath(Configuration.PathKind kind)Returns all paths forkindcombined by the system path separator.static java.io.FilePersistenceUtils. getLocationFile(java.io.File projectFolder, Configuration.PathKind kind)Returns the specified location within the givenprojectFolder.java.lang.StringConfiguration. getPath(Configuration.PathKind kind, int index)Returns a path as a string.intConfiguration. getPathCount(Configuration.PathKind kind)Returns the number of configured paths perkind.java.io.FileConfiguration. getPathFile(Configuration.PathKind kind, int index)Returns a path as a file within the containing project.booleanConfiguration. isPathEasyDefault(Configuration.PathKind kind)Returns whether the specified path is the same as the internal EASy default value.static java.lang.StringPersistenceUtils. modelFileLocation(java.lang.String projectName, java.lang.String projectVersion, java.lang.String folder, Configuration.PathKind modelType)This method locates the file for a IVML/VIL model for a specific EASy project within the given folder.voidConfiguration. setPath(Configuration.PathKind kind, java.io.File path)Sets the given path.voidConfiguration. setPath(Configuration.PathKind kind, java.lang.String path)Sets the given path and stores the new configuration.private voidConfiguration. setPathDefault(Configuration.PathKind kind)Sets the default value of a path in case that it has not been set before (lazy).voidConfiguration. setPathDirect(Configuration.PathKind kind, java.lang.String path)Sets a path due to its string representation, thus, be careful.private voidConfiguration. storePath(IndentationPrintWriter writer, Configuration.PathKind kind)Stores a given path.static voidPersistenceUtils. updateLocations(Configuration config, Configuration.PathKind kind, net.ssehub.easy.basics.modelManagement.ModelLocations<?> locations, net.ssehub.easy.basics.progress.ProgressObserver observer)Updates the paths.Method parameters in net.ssehub.easy.producer.core.persistence with type arguments of type Configuration.PathKind Modifier and Type Method Description private static ConfigurationPersistenceUtils. getDefaultModelsConfiguration(java.io.File folder, java.util.Map<Configuration.PathKind,java.io.File> alternativePaths)Creates a configuration for loading default models.static voidPersistenceUtils. loadDefaultModels(java.lang.ClassLoader loader, net.ssehub.easy.basics.progress.ProgressObserver observer, java.util.Map<Configuration.PathKind,java.io.File> alternativePaths)Loads the default models if existent.static voidPersistenceUtils. loadDefaultModels(net.ssehub.easy.basics.progress.ProgressObserver observer, java.util.Map<Configuration.PathKind,java.io.File> alternativePaths)Loads the default models if existent using the class loader of this class. -
Uses of Configuration.PathKind in net.ssehub.easy.producer.core.persistence.standard
Methods in net.ssehub.easy.producer.core.persistence.standard with parameters of type Configuration.PathKind Modifier and Type Method Description private voidEASyConfigFileImporter. copyConfigFiles(java.io.File source, java.io.File destination, Configuration.PathKind configElement)Copies all EASy config files (variability model, build scripts, or templates) of from the specified source to the destination.private ModelModelLoader. createEmptyModel(java.lang.String projectName, java.lang.String projectVersion, Configuration.PathKind modelType)Creates an emptyIModel, if the specified model could not be loaded.private ModelContainer<?>ModelLoader. loadModel(java.lang.String projectName, java.lang.String projectVersion, net.ssehub.easy.basics.modelManagement.ModelManagement<Model> modelManagement, Configuration.PathKind modelType)voidModelLoader. loadModel(java.lang.String projectName, java.lang.String projectVersion, Configuration.PathKind modelType)Constructors in net.ssehub.easy.producer.core.persistence.standard with parameters of type Configuration.PathKind Constructor Description EASyConfigFileFilter(Configuration.PathKind... elementsToCopy)Sole constructor for theEASyConfigFileFilter. -
Uses of Configuration.PathKind in net.ssehub.easy.producer.core.varMod.container
Methods in net.ssehub.easy.producer.core.varMod.container with parameters of type Configuration.PathKind Modifier and Type Method Description protected java.io.FileModelContainer. getLocation(Configuration.PathKind kind)Returns the location, where the model is loaded from.
-