JarTaskCall.java
// license-header java merge-point
//
// Attention: Generated code! Do not modify by hand!
// Generated by: PSMmetaclass.vsl in andromda-meta-cartridge.
//
package org.andromda.cartridges.deployment.psm.ant;
import java.util.Collection;
/**
* TODO: Model Documentation for org.andromda.cartridges.deployment.psm.ant.JarTaskCall
*/
public class JarTaskCall
extends Taskcall
{
/**
* Public default constructor for JarTaskCall
*/
public JarTaskCall()
{
super();
this.jarName = null;
}
/**
* Public constructor for JarTaskCall with 2 required properties.
* @param taskNameIn String TODO: Model Documentation for org.andromda.cartridges.deployment.psm.ant.Taskcall.taskName
* @param jarNameIn String TODO: Model Documentation for org.andromda.cartridges.deployment.psm.ant.JarTaskCall.jarName
*/
public JarTaskCall(String taskName, String jarName)
{
super(taskName);
this.jarName = jarName;
}
/**
* Public constructor for JarTaskCall with all properties.
* @param taskNameIn String TODO: Model Documentation for org.andromda.cartridges.deployment.psm.ant.Taskcall.taskName
* @param packagesToBeJarredIn Collection<String> TODO: Model Documentation for
org.andromda.cartridges.deployment.psm.ant.JarTaskCall.packagesToBeJarred
* @param jarNameIn String TODO: Model Documentation for org.andromda.cartridges.deployment.psm.ant.JarTaskCall.jarName
*/
public JarTaskCall(String taskNameIn, Collection<String> packagesToBeJarredIn, String jarNameIn)
{
super(taskNameIn);
this.packagesToBeJarred = packagesToBeJarredIn;
this.jarName = jarNameIn;
}
/**
* Copy-constructor from other JarTaskCall
*
* @param otherBean, cannot be <code>null</code>
* @throws NullPointerException if the argument is <code>null</code>
*/
public JarTaskCall(JarTaskCall otherBean)
{
this(otherBean.getTaskName(), otherBean.getPackagesToBeJarred(), otherBean.getJarName());
}
protected Collection<String> packagesToBeJarred;
/**
* TODO: Model Documentation for
* org.andromda.cartridges.deployment.psm.ant.JarTaskCall.packagesToBeJarred
* @return this.packagesToBeJarred Collection<String>
*/
public Collection<String> getPackagesToBeJarred()
{
return this.packagesToBeJarred;
}
/**
* TODO: Model Documentation for
* org.andromda.cartridges.deployment.psm.ant.JarTaskCall.packagesToBeJarred
* @param packagesToBeJarredIn Collection<String>
*/
public void setPackagesToBeJarred(Collection<String> packagesToBeJarredIn)
{
this.packagesToBeJarred = packagesToBeJarredIn;
}
protected String jarName;
/**
* TODO: Model Documentation for org.andromda.cartridges.deployment.psm.ant.JarTaskCall.jarName
* @return this.jarName String
*/
public String getJarName()
{
return this.jarName;
}
/**
* TODO: Model Documentation for org.andromda.cartridges.deployment.psm.ant.JarTaskCall.jarName
* @param jarNameIn String
*/
public void setJarName(String jarNameIn)
{
this.jarName = jarNameIn;
}
}