public abstract class AbstractIteratorMojo
extends org.apache.maven.plugin.AbstractMojo
Constructor and Description |
---|
AbstractIteratorMojo() |
Modifier and Type | Method and Description |
---|---|
protected Comparator<File> |
convertSortOrder() |
String |
getBeginToken() |
String |
getContent() |
String |
getDelimiter() |
String |
getEndToken() |
File |
getFolder() |
List<String> |
getFolders() |
List<String> |
getItems() |
protected List<ItemWithProperties> |
getItemsConverted()
Convert all types
content , items or ItemsWithProperties into the same type. |
List<ItemWithProperties> |
getItemsWithProperties() |
String |
getIteratorName() |
org.apache.maven.project.MavenProject |
getMavenProject() |
org.apache.maven.execution.MavenSession |
getMavenSession() |
protected String |
getPlaceHolder()
This is just a convenience method to get the combination of
getBeginToken() , getIteratorName()
and getEndToken() . |
String |
getSortOrder() |
protected boolean |
isContentNull() |
protected boolean |
isContentSet() |
boolean |
isFailAtEnd() |
protected boolean |
isFolderNull() |
protected boolean |
isFolderSet() |
protected boolean |
isItemsNull() |
protected boolean |
isItemsSet() |
protected boolean |
isItemsWithPropertiesNull() |
protected boolean |
isItemsWithPropertiesSet() |
protected boolean |
isMoreThanOneSet() |
protected boolean |
isNoneSet() |
boolean |
isSkip() |
boolean |
isSortOrderValid(String sortOrder) |
void |
setBeginToken(String beginToken) |
void |
setContent(String content) |
void |
setDelimiter(String delimiter) |
void |
setEndToken(String endToken) |
void |
setFolder(File folder) |
void |
setItems(List<String> items) |
void |
setItemsWithProperties(List<ItemWithProperties> itemsWithProperties) |
void |
setIteratorName(String iteratorName) |
void |
setMavenProject(org.apache.maven.project.MavenProject mavenProject) |
void |
setMavenSession(org.apache.maven.execution.MavenSession mavenSession) |
void |
setSortOrder(String sortOrder) |
getLog, getPluginContext, setLog, setPluginContext
public boolean isSortOrderValid(String sortOrder)
protected Comparator<File> convertSortOrder()
public List<String> getFolders() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected List<ItemWithProperties> getItemsConverted() throws org.apache.maven.plugin.MojoExecutionException
content
, items
or ItemsWithProperties
into the same type.ItemWithProperties
org.apache.maven.plugin.MojoExecutionException
- In case of an error.protected String getPlaceHolder()
getBeginToken()
, getIteratorName()
and getEndToken()
.protected boolean isItemsNull()
protected boolean isItemsWithPropertiesNull()
protected boolean isItemsWithPropertiesSet()
protected boolean isItemsSet()
protected boolean isContentNull()
protected boolean isContentSet()
protected boolean isFolderSet()
protected boolean isFolderNull()
public File getFolder()
public void setFolder(File folder)
protected boolean isMoreThanOneSet()
protected boolean isNoneSet()
public void setSortOrder(String sortOrder)
public String getSortOrder()
public String getContent()
public void setContent(String content)
public String getDelimiter()
public void setDelimiter(String delimiter)
public String getBeginToken()
public void setBeginToken(String beginToken)
public String getEndToken()
public void setEndToken(String endToken)
public String getIteratorName()
public void setIteratorName(String iteratorName)
public boolean isSkip()
public boolean isFailAtEnd()
public List<ItemWithProperties> getItemsWithProperties()
public void setItemsWithProperties(List<ItemWithProperties> itemsWithProperties)
public org.apache.maven.project.MavenProject getMavenProject()
public void setMavenProject(org.apache.maven.project.MavenProject mavenProject)
public org.apache.maven.execution.MavenSession getMavenSession()
public void setMavenSession(org.apache.maven.execution.MavenSession mavenSession)
Copyright © 2011–2017 SoftwareEntwicklung Beratung Schulung. All rights reserved.