IProjectTemplateProcessor.IContext Interface
- public static interface IProjectTemplateProcessor.IContext
Represents a specific project context that the processor will operate on.
Convenience methods are provided for loading and checking template elements in
the project context.
-
Enclosing interface
-
IProjectTemplateProcessor
checkAllContent(IProjectTemplate) Method
public List
checkAllContent(IProjectTemplate
template)
Checks the project for presence of all template content elements.
Returns
- List of IFiles missing from the project.
checkContent(IProjectTemplate.ITemplateContent) Method
public List
checkContent(IProjectTemplate.ITemplateContent
content)
Checks the project for presence of a single template content element.
Returns
- List of IFiles missing from the project.
getProject() Method
public IProject
getProject()
Project for the processor to operate on.
Note that the processor should not assume that the project
is currently loaded and active in the IDE.
Returns
- IProject
loadAllContent(IProjectTemplate) Method
public boolean loadAllContent(IProjectTemplate
template)
Loads all template content elements into the project.
Returns
- true on success, false if operation failed to complete.
loadContent(IProjectTemplate.ITemplateContent) Method
public boolean loadContent(IProjectTemplate.ITemplateContent
content)
Loads a single template content element into the project.
Returns
- true on success, false if operation failed to complete.