org.nuiton.license.plugin.repository
Class LicenseDefinition

java.lang.Object
  extended by org.nuiton.license.plugin.repository.LicenseDefinition

public class LicenseDefinition
extends Object

Model of a license definition in a license repository.

Since:
1.0.3

Field Summary
protected  URL baseURL
           
protected  String description
           
static String LICENSE_CONTENT_FILE
           
static String LICENSE_HEADER_FILE
           
protected  String name
           
 
Constructor Summary
LicenseDefinition(URL baseURL, String name, String description)
           
 
Method Summary
 URL getBaseURL()
           
 String getDescription()
           
 URL getHeaderURL()
           
 URL getLicenseURL()
           
 String getName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LICENSE_HEADER_FILE

public static final String LICENSE_HEADER_FILE
See Also:
Constant Field Values

LICENSE_CONTENT_FILE

public static final String LICENSE_CONTENT_FILE
See Also:
Constant Field Values

baseURL

protected URL baseURL

name

protected String name

description

protected String description
Constructor Detail

LicenseDefinition

public LicenseDefinition(URL baseURL,
                         String name,
                         String description)
Method Detail

getBaseURL

public URL getBaseURL()

getDescription

public String getDescription()

getName

public String getName()

getLicenseURL

public URL getLicenseURL()
                  throws IOException
Throws:
IOException

getHeaderURL

public URL getHeaderURL()
                 throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2010 CodeLutin. All Rights Reserved.