Uses of Class
net.ssehub.easy.varModel.model.Project
Packages that use Project
Package
Description
This package represents a specific variability model configuration.
Implements the evaluation of constraint syntax trees.
Provides functionality to manage variability models and their dependencies.
Base package for the variability model.
This package contains utility classes for filtering the model for specific model elements.
Classes for creating an (adapted) copy of the
Project.Modifier for the
ProjectRewriteVisitor.Specific classes for performing search operations on models.
These package is for reading and saving the variability model and the configuration.
Currently supported file formats: EASy-Producer 2.0 config files (xml) IVML
Currently supported file formats: EASy-Producer 2.0 config files (xml) IVML
Classes for validating e variability model, e.g.
-
Uses of Project in net.ssehub.easy.varModel.confModel
Fields in net.ssehub.easy.varModel.confModel declared as ProjectModifier and TypeFieldDescriptionprivate ProjectConfigurationSaver.destProjectThe destination project where the information of the configuration should be stored to.private ProjectConfiguration.projectThe origin project, where this configuration belongs to.Methods in net.ssehub.easy.varModel.confModel that return ProjectModifier and TypeMethodDescriptionprotected ProjectConfigurationSaver.createProject(Configuration srcConfiguration) Creates the project to store the configuration into.Configuration.getProject()Returns the related project.ConfigurationSaver.getSavedConfiguration()Returns the project where the values and frozen states are saved to.Configuration.toProject(boolean ownProject) Turns this configuration into a project, e.g.Configuration.toProject(boolean ownProject, boolean onlyUserInput) Turns this configuration into a project, e.g.Methods in net.ssehub.easy.varModel.confModel that return types with arguments of type ProjectModifier and TypeMethodDescriptionprivate net.ssehub.easy.basics.modelManagement.ModelInfo<Project> Configuration.getModelInfo()Returns the related model information instance.Methods in net.ssehub.easy.varModel.confModel with parameters of type ProjectModifier and TypeMethodDescriptionprotected voidConfigurationSaver.addAttributes(Project destProject, Configuration srcConfiguration) Adds attributes todestProject.protected voidConfigurationSaver.addImports(Project destProject, Configuration srcConfiguration) Adds the imports todestProject.protected voidConfigurationSaver.addLocalVariables(Project destProject, Configuration srcConfiguration) Adds local variables todestProject.protected voidConfigurationSaver.addVersion(Project destProject, Configuration srcConfiguration) Adds the current version todestProject.protected ConstraintSyntaxTreeConfigurationSaver.createAssignmentConstraint(Project dstProject, AbstractVariable decl, IDecisionVariable var, Value value) Creates an assignment constraint.protected FreezeBlockConfigurationSaver.createFreezeBlock(IFreezable[] freezables, Project parent) Creates a freeze block, allowing customization (factory method).private voidFills the stack of importedProjects recursively.voidConfiguration.freezeValues(Project project, FilterType filter) SetsAssignmentState.FROZENstate to already frozen variables.protected booleanConfigurationSaver.isSavingEnabled(Project destProject, IDecisionVariable var) Returns whether saving this variable (for the destination projectdestProject) is enabled.voidConfiguration.notifyReplaced(Project oldProject, Project newProject) private intConfigurationSaver.processAssignment(Project confProject, StringBuilder errors, AbstractVariable decl, IDecisionVariable var, Value value) Processes an assignment.private voidAssignmentResolver.resolveAnnotationAssignments(Project project) Sets the (re-)assigned annotation values for all annotation of all variables for the currentProject.protected voidAssignmentResolver.resolveAssignments(Project project) Part of theAssignmentResolver.resolve()method.protected voidAssignmentResolver.resolveDefaultValues(Project project) Part of theAssignmentResolver.resolve()method.protected voidConfigurationSaver.saveFreezeStates(Project confProject) Part of theConfiguration.toProject(boolean)method.protected abstract voidAbstractConfigurationStatisticsVisitor.specialTreatment(Project mainProject) Optional hook to realize additional statistics for the underlying IVML project.protected voidDefaultConfigurationStatisticsVisitor.specialTreatment(Project mainProject) voidAssignmentResolver.AssignBlockVisitor.visitProject(Project project) Method parameters in net.ssehub.easy.varModel.confModel with type arguments of type ProjectModifier and TypeMethodDescriptionprivate voidAssignmentResolver.findImportedProjects(List<Project> projects) Fills the stack of importedProjects.private voidFills the stack of importedProjects recursively.private voidFills the stack of importedProjects recursively.Constructors in net.ssehub.easy.varModel.confModel with parameters of type ProjectModifierConstructorDescriptionConfiguration(Project project) Creates a new configuration for the given project.Configuration(Project project, boolean assignValues) Alternative constructor to avoid initial value assignment byAssignmentResolver.Configuration(Project project, boolean assignValues, IAssignmentState resolutionState) Alternative constructor to avoid initial value assignment byAssignmentResolver.Configuration(Project project, IAssignmentState resolutionState) Creates a new configuration for the given project with explicit resolution state. -
Uses of Project in net.ssehub.easy.varModel.cstEvaluation
Fields in net.ssehub.easy.varModel.cstEvaluation declared as ProjectFields in net.ssehub.easy.varModel.cstEvaluation with type parameters of type ProjectMethods in net.ssehub.easy.varModel.cstEvaluation that return ProjectModifier and TypeMethodDescriptionEvaluationVisitor.setDispatchScope(Project scope) Defines the top-level search scope for dynamic dispatch of custom operations.Methods in net.ssehub.easy.varModel.cstEvaluation with parameters of type ProjectModifier and TypeMethodDescriptionvoidDispatchInformation.checkForDispatch(Project scope) Checks the given scope for dispatch candidates.private AttributeVariableValueCopier.EnumAttributeFreezeProvider.findAttribute(Project prj, String name, Set<Project> done) Finds a declaration for the attributenameinprjor it's imports.EvaluationVisitor.setDispatchScope(Project scope) Defines the top-level search scope for dynamic dispatch of custom operations.Method parameters in net.ssehub.easy.varModel.cstEvaluation with type arguments of type Project -
Uses of Project in net.ssehub.easy.varModel.management
Fields in net.ssehub.easy.varModel.management with type parameters of type ProjectModifier and TypeFieldDescriptionprivate net.ssehub.easy.basics.modelManagement.IModelManagementRepository<Project> ModelCommentsPersistencer.repositoryMethods in net.ssehub.easy.varModel.management that return ProjectModifier and TypeMethodDescriptionVarModel.IvmlModelRepository.createModel(String modelName, List<Project> imports) Methods in net.ssehub.easy.varModel.management that return types with arguments of type ProjectModifier and TypeMethodDescriptionprotected net.ssehub.easy.basics.modelManagement.ModelRepository<Project> VarModel.createRepository()protected net.ssehub.easy.basics.modelManagement.ImportResolver<Project> VarModel.createResolver()Methods in net.ssehub.easy.varModel.management with parameters of type ProjectModifier and TypeMethodDescriptionprivate voidModelCommentsPersistencer.assignCommentsToProject(Project project, CommentResource props) Assign the comments stored inpropsto the containable model elements inproject.protected booleanDefaultImportResolver.checkImported(net.ssehub.easy.basics.modelManagement.ModelImport<Project> imp, Project model, List<net.ssehub.easy.basics.messages.IMessage> messages) Checks the imported interfaces for obvious import problems, such as importing projects with interfaces as a whole.static CommentResourceModelCommentsPersistencer.getComments(Project project) Returns the comment resource for the given project.Method parameters in net.ssehub.easy.varModel.management with type arguments of type ProjectModifier and TypeMethodDescriptionprotected booleanDefaultImportResolver.checkImported(net.ssehub.easy.basics.modelManagement.ModelImport<Project> imp, Project model, List<net.ssehub.easy.basics.messages.IMessage> messages) Checks the imported interfaces for obvious import problems, such as importing projects with interfaces as a whole.VarModel.IvmlModelRepository.createModel(String modelName, List<Project> imports) private static CommentResourceModelCommentsPersistencer.getComments(net.ssehub.easy.basics.modelManagement.ModelInfo<Project> info) Determines the comment resource for the specified model information object/project.(package private) voidModelCommentsPersistencer.loadComments(net.ssehub.easy.basics.modelManagement.ModelInfo<Project> info) Loads comments from the resolved project ofinfo.protected voidVarModel.postLoadModel(net.ssehub.easy.basics.modelManagement.ModelInfo<Project> info) Additional code to be executed after a model was loaded.booleanModelCommentsPersistencer.storeComments(net.ssehub.easy.basics.modelManagement.ModelInfo<Project> info) Stores the comments stored in the resolved project ofinfo.booleanModelCommentsPersistencer.storeComments(net.ssehub.easy.basics.modelManagement.ModelInfo<Project> info, boolean considerImports) Stores the comments stored in the resolved project ofinfoand optionally for all imported projects.Constructor parameters in net.ssehub.easy.varModel.management with type arguments of type ProjectModifierConstructorDescriptionprotectedIvmlModelRepository(net.ssehub.easy.basics.modelManagement.ModelManagement<Project> modelMgmt) Creates a model repository.(package private)ModelCommentsPersistencer(net.ssehub.easy.basics.modelManagement.IModelManagementRepository<Project> repository) Prevents creating instances from outside this package. -
Uses of Project in net.ssehub.easy.varModel.model
Fields in net.ssehub.easy.varModel.model declared as ProjectModifier and TypeFieldDescriptionprivate ProjectAbstractProjectVisitor.originProjectThe project where the visiting has been started.private ProjectProject.parentprivate final ProjectProjectType.projectFields in net.ssehub.easy.varModel.model with type parameters of type ProjectMethods in net.ssehub.easy.varModel.model that return ProjectModifier and TypeMethodDescriptionstatic ProjectModelQuery.findProject(Project project, String name) Finds a project with given name.private static ProjectFinds a project with given name.Project.getParent()Returns the parent of this project.final ProjectContainableModelElement.getProject()Returns the containing project.protected ProjectAbstractProjectVisitor.getStartingProject()Returns the original project which was the starting point for visitation.private static ProjectModelQuery.searchImportedProject(String namespace, IResolutionScope scope, Set<Project> done) Searches for an indirectly imported project in depth-first search.Methods in net.ssehub.easy.varModel.model that return types with arguments of type ProjectModifier and TypeMethodDescriptionnet.ssehub.easy.basics.modelManagement.ModelImport<Project> Project.getSuper()Returns the reference to the super model (if it exists).Methods in net.ssehub.easy.varModel.model with parameters of type ProjectModifier and TypeMethodDescriptionprotected voidAbstractProjectVisitor.clear(Project originProject, FilterType filterType) Resets the knowledge if a this visitor should be used for a second iteration.voidCollects statistics aboutproject.static ProjectModelQuery.findProject(Project project, String name) Finds a project with given name.private static ProjectFinds a project with given name.(package private) voidChanges the parent of this project (intended to be used internally by the copy mechanism).voidProjectImport.setResolved(Project resolved) Defines the resolved project instance.voidAbstractProjectVisitor.visitProject(Project project) voidAbstractVisitor.visitProject(Project project) voidIModelVisitor.visitProject(Project project) Method for visiting a project.voidModelVisitorAdapter.visitProject(Project project) Method parameters in net.ssehub.easy.varModel.model with type arguments of type ProjectModifier and TypeMethodDescriptionprivate static ProjectFinds a project with given name.private static ProjectModelQuery.searchImportedProject(String namespace, IResolutionScope scope, Set<Project> done) Searches for an indirectly imported project in depth-first search.Constructors in net.ssehub.easy.varModel.model with parameters of type ProjectModifierConstructorDescriptionprotectedAbstractProjectVisitor(Project originProject, FilterType filterType) Sole constructor for this visitor.(package private)ProjectType(Project project) Creates the type instance of this. -
Uses of Project in net.ssehub.easy.varModel.model.filter
Fields in net.ssehub.easy.varModel.model.filter declared as ProjectModifier and TypeFieldDescriptionprivate ProjectModelElementTypeFinder.targetProjectStores theProjectin which the model element is located.Methods in net.ssehub.easy.varModel.model.filter with parameters of type ProjectModifier and TypeMethodDescriptionstatic List<AbstractVariable> ReferenceValuesFinder.findPossibleValues(Project project, IDatatype type) static List<AbstractVariable> ReferenceValuesFinder.findPossibleValues(Project project, Reference refType) Searches inside the wholeProjectforAbstractVariables, which can be referenced byIDecisionVariables of the givenReferencetype.protected voidConstraintFinder.startAccept(Project project) Starts accepting in the constructor.voidConstraintFinder.visitProject(Project project) voidDeclarationInContainerFinder.visitProject(Project project) voidNamespaceFinder.visitProject(Project project) Constructors in net.ssehub.easy.varModel.model.filter with parameters of type ProjectModifierConstructorDescriptionprotectedAbstractDeclarationFinder(Project project, FilterType filterType) Sole constructor for this class.protectedAbstractFrozenElementsFinder(Project originProject, FilterType filterType) Sole constructor for this class.AnnotationAssignmentFinder(Project originProject, FilterType filterType, boolean onlyToplevel) Single constructor for this class.ConstraintFinder(Project project) This constructor will consider imported projects.ConstraintFinder(Project project, boolean considerImports) Constructor for specifying whether imported projects should be considered while finding the constraints.ConstraintFinder(Project project, boolean considerImports, boolean excludeAssignments) Constructor for specifying whether imported projects should be considered while finding the constraints.ConstraintFinder(Project project, boolean considerImports, boolean excludeAssignments, boolean handleEvals) Constructor for specifying whether imported projects should be considered while finding the constraints.ConstraintSeparator(Project project) This constructor will consider imported projects.ConstraintSeparator(Project project, boolean considerImports) Constructor for specifying whether imported projects should be considered while finding the constraints.DatatypeFinder(Project originProject, FilterType filterType, IDatatype type) Sole constructor for creating a newDatatypeFinder.DeclarationFinder(Project project, FilterType filterType, IDatatype type) Constructor for specifying whether search results should be filtered regarding the specifiedIDatatype.DeclarationFinder(Project project, FilterType filterType, IDatatype type, boolean onlyToplevel) Constructor for specifying whether search results should be filtered regarding the specifiedIDatatypeand whether only toplevel variables should be retrieved.DeclarationMapper(Project project, FilterType filterType) Sole constructor for this class.EvalBlockFinder(Project project, FilterType filtertype) Sole constructor for this class.FreezeBlockFinder(Project project, FilterType filtertype) Default constructor for this class.FrozenElementsFinder(Project project, FilterType filtertype) Default constructor for this class.ModelElementTypeFinder(Project originProject, FilterType filterType) Constructs a newModelElementTypeFinder.NamespaceFinder(Project project) Constructor for getting all namespaces including all imported namepsaces.ProjectInterfaceFinder(Project project, FilterType filterType) Constructor for getting allProjectInterfaces.ProjectInterfaceFinder(Project project, FilterType filterType, boolean onlyUsedInterfaces) Constructor for getting allProjectInterfaces. -
Uses of Project in net.ssehub.easy.varModel.model.rewrite
Fields in net.ssehub.easy.varModel.model.rewrite declared as ProjectModifier and TypeFieldDescriptionprivate ProjectProjectCopyVisitor.copiedProjectThe copied projects (starting point).private ProjectProjectRewriteVisitor.currentProjectprivate ProjectProjectRewriteVisitor.originProjectThe project where the visiting has been started.Fields in net.ssehub.easy.varModel.model.rewrite with type parameters of type ProjectModifier and TypeFieldDescriptionProjectCopyVisitor.copiedProjectsTuple of (oldProject, copiedProject) containing the mapping of copied projects.ProjectCopyVisitor.copiedProjectsTuple of (oldProject, copiedProject) containing the mapping of copied projects.ProjectRewriteVisitor.doneDeletedElementsCollector.parentProjectsProjectCopyVisitor.projectTypesDirty but needed forProjectCopyVisitor.getTranslatedType(IDatatype): Tuple of (original project type, copied project).Methods in net.ssehub.easy.varModel.model.rewrite that return ProjectModifier and TypeMethodDescriptionProjectCopyVisitor.getCopiedProject()Returns the copy of the visited project.Methods in net.ssehub.easy.varModel.model.rewrite that return types with arguments of type ProjectModifier and TypeMethodDescriptionProjectCopyVisitor.getAllCopiedProjects()Returns a set of all copied projects (including copies of imported projects).Methods in net.ssehub.easy.varModel.model.rewrite with parameters of type ProjectModifier and TypeMethodDescriptionvoidRewriteContext.addUsedProject(Project project) Marks that a project was used, i.e., is still part of the overall structure and should not be removed.private StringRewriteContext.generateQualifiedName(Project project) Returns the qualified name of a project as unique identifier for comparison whether the project was deleted.(package private) voidRewriteContext.markForImportRemoval(Project declaringProject, ContainableModelElement nestedElement) Marks an element of an imported project for removal if the relatedProjectImportwas deleted.booleanRewriteContext.projectIsStillPresent(Project project) Tests whether the project is still part of the main project (via an import).voidProjectRewriteVisitor.reset(Project originProject, FilterType filterType) Resets theProjectRewriteVisitorto use it for a new visitation.private voidStarts a new visitation to clean up inconsistent data.voidDeletedElementsCollector.visitProject(Project project) voidProjectCopyVisitor.visitProject(Project project) voidProjectRewriteVisitor.visitProject(Project project) Method for visiting a project.Constructors in net.ssehub.easy.varModel.model.rewrite with parameters of type ProjectModifierConstructorDescription(package private)DeletedElementsCollector(Project originProject, FilterType filterType, RewriteContext context) Single constructor of this class.(package private)InitialStructureCollector(Project originProject, FilterType filterType, VariableLookUpTable table) Default constructor for this class.ProjectCopyVisitor(Project originProject, FilterType filterType) Sole constructor for creating a copy of aProject.ProjectRewriteVisitor(Project originProject, FilterType filterType) Default constructor for this class. -
Uses of Project in net.ssehub.easy.varModel.model.rewrite.modifier
Methods in net.ssehub.easy.varModel.model.rewrite.modifier with parameters of type ProjectModifier and TypeMethodDescriptionvoidIProjectModifier.modifyProject(Project project, RewriteContext context) Specification how to modifyProjects. -
Uses of Project in net.ssehub.easy.varModel.model.search
Fields in net.ssehub.easy.varModel.model.search with type parameters of type ProjectMethods in net.ssehub.easy.varModel.model.search with parameters of type Project -
Uses of Project in net.ssehub.easy.varModel.persistency
Fields in net.ssehub.easy.varModel.persistency with type parameters of type ProjectMethods in net.ssehub.easy.varModel.persistency with parameters of type ProjectModifier and TypeMethodDescriptionprotected abstract voidAbstractVarModelWriter.endWritingProject(Project project) Method for writing a project, second part.protected voidIVMLWriter.endWritingProject(Project project) protected abstract voidAbstractVarModelWriter.startWritingProject(Project project) Method for writing a project, first part.protected voidIVMLWriter.startWritingProject(Project project) voidAbstractVarModelWriter.visitProject(Project project) voidConfigurableIVMLWriter.visitProject(Project project) voidIVMLWriter.visitProject(Project project) voidVariableUsage.visitProject(Project project) -
Uses of Project in net.ssehub.easy.varModel.validation
Methods in net.ssehub.easy.varModel.validation with parameters of type Project