org.nuiton.license.plugin.model.descriptor
Class Header

java.lang.Object
  extended by org.nuiton.license.plugin.model.descriptor.Header
All Implemented Interfaces:
Serializable

public class Header
extends Object
implements Serializable

A Header represents a set of resources using the same header type.

The licenseName can be inherited by the mainLicense of the project.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Header()
           
 
Method Summary
 void addFileSet(FileSet fileSet)
          Method addFileSet.
 String getCommentStyle()
          Get The style of the comment which box the header to generate (or updates).
 FileSet getFileSet()
          Get Specifies a single file sets to include in the license set.
 List<FileSet> getFileSets()
          Method getFileSets.
 String getLicenseName()
          Get The license to apply in this set.
 void removeFileSet(FileSet fileSet)
          Method removeFileSet.
 void setCommentStyle(String commentStyle)
          Set The style of the comment which box the header to generate (or updates).
 void setFileSet(FileSet fileSet)
          Set Specifies a single file sets to include in the license set.
 void setFileSets(List<FileSet> fileSets)
          Set Specifies file sets to include in the license set.
 void setLicenseName(String licenseName)
          Set The license to apply in this set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Header

public Header()
Method Detail

addFileSet

public void addFileSet(FileSet fileSet)
Method addFileSet.

Parameters:
fileSet -

getCommentStyle

public String getCommentStyle()
Get The style of the comment which box the header to generate (or updates).

Returns:
String

getFileSet

public FileSet getFileSet()
Get Specifies a single file sets to include in the license set. A fileSet is specified by providing one or more of <licenseSet> subelements.

Returns:
FileSet

getFileSets

public List<FileSet> getFileSets()
Method getFileSets.

Returns:
List

getLicenseName

public String getLicenseName()
Get The license to apply in this set. If not fill, will use the main license.

Returns:
String

removeFileSet

public void removeFileSet(FileSet fileSet)
Method removeFileSet.

Parameters:
fileSet -

setCommentStyle

public void setCommentStyle(String commentStyle)
Set The style of the comment which box the header to generate (or updates).

Parameters:
commentStyle -

setFileSet

public void setFileSet(FileSet fileSet)
Set Specifies a single file sets to include in the license set. A fileSet is specified by providing one or more of <licenseSet> subelements.

Parameters:
fileSet -

setFileSets

public void setFileSets(List<FileSet> fileSets)
Set Specifies file sets to include in the license set. A fileSet is specified by providing one or more of <licenseSet> subelements.

Parameters:
fileSets -

setLicenseName

public void setLicenseName(String licenseName)
Set The license to apply in this set. If not fill, will use the main license.

Parameters:
licenseName -


Copyright © 2008-2010 CodeLutin. All Rights Reserved.