com.philemonworks.selfdiagnose.report
Class ReportMavenPOMProperties
java.lang.Object
com.philemonworks.selfdiagnose.DiagnosticTask
com.philemonworks.selfdiagnose.PatternMatchingTask
com.philemonworks.selfdiagnose.check.CheckProperty
com.philemonworks.selfdiagnose.check.CheckResourceProperty
com.philemonworks.selfdiagnose.report.ReportMavenPOMProperties
- All Implemented Interfaces:
- Serializable
public class ReportMavenPOMProperties
- extends CheckResourceProperty
ReportMavenPOMProperties is a task that reports the Maven build properties
which are included in the application if it is build using Maven.
Usage:
<reportmavenpomproperties
comment="Maven POM properties"
name="/META-INF/maven/com.yours.appp/myapp/pom.properties"
/>
- Author:
- ernestmicklei
- See Also:
- Serialized Form
Methods inherited from class com.philemonworks.selfdiagnose.DiagnosticTask |
createResult, getComment, getDefaultReportTemplate, getRequestor, getTaskName, getVariableName, hasComment, isReportResults, run, run, setComment, setReportResults, setRequestor, setVariableName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportMavenPOMProperties
public ReportMavenPOMProperties()
getDescription
public String getDescription()
- Overrides:
getDescription
in class CheckResourceProperty
- Returns:
- String the description
setUp
public void setUp(ExecutionContext ctx)
throws DiagnoseException
- Description copied from class:
DiagnosticTask
- Override this method to verify that task parameters are initialized/set correctly.
- Overrides:
setUp
in class CheckResourceProperty
- Parameters:
ctx
- ExecutionContext
- Throws:
DiagnoseException
run
public void run(ExecutionContext ctx,
DiagnosticTaskResult result)
throws DiagnoseException
- Description copied from class:
CheckResourceProperty
- (non-Javadoc)
- Overrides:
run
in class CheckResourceProperty
- Parameters:
ctx
- ExecutionContextresult
- DiagnosticTaskResult
- Throws:
DiagnoseException
- See Also:
DiagnosticTask.run(ExecutionContext)
Copyright © 2012. All Rights Reserved.