net.sourceforge.cruisecontrol.sourcecontrols
Class Maven2SnapshotDependency
java.lang.Object
net.sourceforge.cruisecontrol.sourcecontrols.Maven2SnapshotDependency
- All Implemented Interfaces:
- java.io.Serializable, SourceControl
- public class Maven2SnapshotDependency
- extends java.lang.Object
- implements SourceControl
Checks snapshot dependencies listed in a Maven2 pom against the local repositorty.
Date: Feb 8, 2006
Time: 9:15:47 PM
- Author:
- Dan Rollo
- See Also:
- Serialized Form
|
Method Summary |
java.util.List |
getModifications(java.util.Date lastBuild,
java.util.Date now)
The quiet period is ignored. |
java.util.Map |
getProperties()
Any properties that have been set in this sourcecontrol.
|
void |
setPomFile(java.lang.String s)
|
void |
setProperty(java.lang.String property)
|
void |
setUser(java.lang.String s)
|
void |
validate()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Maven2SnapshotDependency
public Maven2SnapshotDependency()
setPomFile
public void setPomFile(java.lang.String s)
- Parameters:
s - the pom.xml file who's snapshot dependencies we are going to scan
setUser
public void setUser(java.lang.String s)
- Parameters:
s - the username listed with changes found in binary dependencies
setProperty
public void setProperty(java.lang.String property)
getProperties
public java.util.Map getProperties()
- Description copied from interface:
SourceControl
- Any properties that have been set in this sourcecontrol.
Will be passed onto the Builder, which may then pass the properties to the underlying
build implementation. For example, the Ant builder will define these properties so that
the underlying Ant script can use them.
- Specified by:
getProperties in interface SourceControl
validate
public void validate()
throws CruiseControlException
- Specified by:
validate in interface SourceControl
- Throws:
CruiseControlException
getModifications
public java.util.List getModifications(java.util.Date lastBuild,
java.util.Date now)
- The quiet period is ignored. All dependencies changed since the last
build trigger a modification.
- Specified by:
getModifications in interface SourceControl
- Parameters:
lastBuild - date of last buildnow - IGNORED
- Returns:
- List of Modification objects