public class Pack extends Object
Modifier and Type | Method and Description |
---|---|
void |
addFilename(Pattern filenamePattern) |
void |
addTemplate(Pattern templatePattern) |
List<Pattern> |
getFilenames()
Control the generation output by filtering the generated files based on their filename.
|
String |
getName()
Name of the pack
|
Integer |
getOrder()
Specify the pack order, its main interest is when two packs produce the same artifacts.
|
String |
getPath()
Path of the pack, it should be relative to the project, or absolute.
|
List<Pattern> |
getTemplates()
Control the generation output by filtering the execution of the generation templates based on their filename.
|
boolean |
hasFilename(String value) |
boolean |
hasName() |
boolean |
hasPackOrder() |
boolean |
hasPath() |
boolean |
hasTemplate(String value) |
boolean |
isEnable()
Should this pack be used ?
|
boolean |
nameMatch(String otherName) |
void |
setEnable(boolean enable) |
void |
setFilenames(List<Pattern> filenames) |
void |
setName(String name) |
void |
setOrder(Integer order) |
void |
setPath(String path) |
void |
setTemplates(List<Pattern> templates) |
public Pack()
public Pack(String name)
public String getName()
public boolean hasName()
public String getPath()
public boolean hasPath()
public boolean isEnable()
public Integer getOrder()
public boolean hasPackOrder()
public List<Pattern> getFilenames()
public void addFilename(Pattern filenamePattern)
public boolean hasFilename(String value)
public List<Pattern> getTemplates()
public void addTemplate(Pattern templatePattern)
public boolean hasTemplate(String value)
public boolean nameMatch(String otherName)
public void setName(String name)
public void setPath(String path)
public void setEnable(boolean enable)
public void setOrder(Integer order)
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.