net.sourceforge.cruisecontrol.publishers
Class ArtifactsPublisher

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.publishers.ArtifactsPublisher
All Implemented Interfaces:
Publisher, java.io.Serializable

public class ArtifactsPublisher
extends java.lang.Object
implements Publisher

See Also:
Serialized Form

Constructor Summary
ArtifactsPublisher()
           
 
Method Summary
 void publish(org.jdom.Element cruisecontrolLog)
          Define the publishing.
 void setDest(java.lang.String dir)
           
 void setDir(java.lang.String pDir)
           
 void setFile(java.lang.String file)
           
 void setPublishOnFailure(boolean shouldPublish)
           
 void setSubdirectory(java.lang.String subdir)
           
protected  boolean shouldPublish(boolean buildSuccessful)
           
 void validate()
          Called after the configuration is read to make sure that all the mandatory parameters were specified..
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactsPublisher

public ArtifactsPublisher()
Method Detail

setDest

public void setDest(java.lang.String dir)

setDir

public void setDir(java.lang.String pDir)

setFile

public void setFile(java.lang.String file)

setPublishOnFailure

public void setPublishOnFailure(boolean shouldPublish)

publish

public void publish(org.jdom.Element cruisecontrolLog)
             throws CruiseControlException
Description copied from interface: Publisher
Define the publishing.

Specified by:
publish in interface Publisher
Parameters:
cruisecontrolLog - JDOM Element representation of the main cruisecontrol build log
Throws:
CruiseControlException

shouldPublish

protected boolean shouldPublish(boolean buildSuccessful)

validate

public void validate()
              throws CruiseControlException
Description copied from interface: Publisher
Called after the configuration is read to make sure that all the mandatory parameters were specified..

Specified by:
validate in interface Publisher
Throws:
CruiseControlException - if there was a configuration error.

setSubdirectory

public void setSubdirectory(java.lang.String subdir)