com.sodius.mdw.core.eval.project
Interface Project


public interface Project

Describes the contents (template, rules & scripts) of a project.

This interface is not intended to be implemented by clients.

See Also:
EvaluationContext.getProject(), EvaluationManager.loadProject(File)

Method Summary
 Collection<Rule> getEntryRules()
          Returns the collection of available rules with an visibility entry.
 File getFile()
          Returns the file from where this project has been loaded.
 String getName()
          Returns the project name.
 Collection<Type> getRootTypes()
          Returns the collection of root types (with no super-types) on which at least one script is defined.
 Collection<RuleSet> getRuleSets()
          Returns the collection of available rule sets.
 Collection<TextTemplate> getTextTemplates()
          Returns the collection of available text templates.
 Collection<Type> getTypes()
          Returns the collection of types on which at least one script is defined.
 

Method Detail

getName

String getName()
Returns the project name.

Returns:
the project name.

getFile

File getFile()
Returns the file from where this project has been loaded.

Returns:
the project file
See Also:
EvaluationManager.loadProject(File)

getTextTemplates

Collection<TextTemplate> getTextTemplates()
Returns the collection of available text templates.

Returns:
a unmodifiable collection of TextTemplate elements.
See Also:
TextTemplate

getRuleSets

Collection<RuleSet> getRuleSets()
Returns the collection of available rule sets.

Returns:
a unmodifiable collection of RuleSet elements.
See Also:
RuleSet

getEntryRules

Collection<Rule> getEntryRules()
Returns the collection of available rules with an visibility entry.

Returns:
an unmodifiable collection of Rule elements.
See Also:
Rule, RuleSet.getRules(), VisibilityKind.ENTRY_POINT

getTypes

Collection<Type> getTypes()
Returns the collection of types on which at least one script is defined.

Returns:
a unmodifiable collection of Type elements.
See Also:
Type

getRootTypes

Collection<Type> getRootTypes()
Returns the collection of root types (with no super-types) on which at least one script is defined.

Returns:
a unmodifiable collection of Type elements.
See Also:
Type.isRoot()