|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.jalopy.JalopyBean
public class JalopyBean
A bean to format all source files according to code conventions.
Constructor Summary | |
---|---|
JalopyBean()
|
Method Summary | |
---|---|
void |
execute()
The main method: starts formatting of source files. |
File |
getConvention()
Returns the convention property. |
String |
getFileFormat()
Returns the fileFormat property. |
String |
getHistoryPolicy()
Returns the historyPolicy property. |
File |
getSourceDirectory()
Returns the sourceDirectory property. |
String |
getSrcExcludesPattern()
Returns the srcExcludesPattern property. |
String |
getSrcIncludesPattern()
Returns the srcIncludesPattern property. |
String |
getTestExcludesPattern()
Returns the testExcludesPattern property. |
String |
getTestIncludesPattern()
Returns the testIncludesPattern property. |
File |
getTestSourceDirectory()
Returns the testSourceDirectory property. |
boolean |
isBackup()
Returns the backup property. |
boolean |
isFailOnError()
Returns the failOnError property. |
boolean |
isForce()
Returns the force property. |
boolean |
isInspect()
Returns the inspect property. |
void |
setBackup(boolean newbackup)
Sets the backup property. |
void |
setConvention(File newconvention)
Sets the convention property. |
void |
setFailOnError(boolean newfailOnError)
Sets the failOnError property. |
void |
setFileFormat(String newfileFormat)
Sets the fileFormat property. |
void |
setForce(boolean newforce)
Sets the force property. |
void |
setHistoryPolicy(String newhistoryPolicy)
Sets the historyPolicy property. |
void |
setInspect(boolean newinspect)
Sets the inspect property. |
void |
setSourceDirectory(File newsourceDirectory)
Sets the sourceDirectory property. |
void |
setSrcExcludesPattern(String newsrcExcludesPattern)
Sets the srcExcludesPattern property. |
void |
setSrcIncludesPattern(String newsrcIncludesPattern)
Sets the srcIncludesPattern property. |
void |
setTestExcludesPattern(String newtestExcludesPattern)
Sets the testExcludesPattern property. |
void |
setTestIncludesPattern(String newtestIncludesPattern)
Sets the testIncludesPattern property. |
void |
setTestSourceDirectory(File newtestSourceDirectory)
Sets the testSourceDirectory property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JalopyBean()
Method Detail |
---|
public void execute() throws Exception
Exception
- Exceptionpublic String getFileFormat()
public void setFileFormat(String newfileFormat)
newfileFormat
- The new propertypublic boolean isFailOnError()
public void setFailOnError(boolean newfailOnError)
newfailOnError
- The new propertypublic boolean isInspect()
public void setInspect(boolean newinspect)
newinspect
- The new propertypublic boolean isBackup()
public void setBackup(boolean newbackup)
newbackup
- The new propertypublic boolean isForce()
public void setForce(boolean newforce)
newforce
- The new propertypublic File getSourceDirectory()
public void setSourceDirectory(File newsourceDirectory)
newsourceDirectory
- The new propertypublic String getSrcIncludesPattern()
public void setSrcIncludesPattern(String newsrcIncludesPattern)
newsrcIncludesPattern
- The new propertypublic String getSrcExcludesPattern()
public void setSrcExcludesPattern(String newsrcExcludesPattern)
newsrcExcludesPattern
- The new propertypublic String getHistoryPolicy()
public void setHistoryPolicy(String newhistoryPolicy)
newhistoryPolicy
- The new propertypublic File getConvention()
public void setConvention(File newconvention)
newconvention
- The new propertypublic File getTestSourceDirectory()
public void setTestSourceDirectory(File newtestSourceDirectory)
newtestSourceDirectory
- The new propertypublic String getTestIncludesPattern()
public void setTestIncludesPattern(String newtestIncludesPattern)
newtestIncludesPattern
- The new propertypublic String getTestExcludesPattern()
public void setTestExcludesPattern(String newtestExcludesPattern)
newtestExcludesPattern
- The new property
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |