org.xwiki.extension
Class ExtensionLicense

java.lang.Object
  extended by org.xwiki.extension.ExtensionLicense

public class ExtensionLicense
extends Object

License of an extension.

Since:
4.0M1
Version:
$Id: ae7436d318aeb42181bf5ef9df786e24573fda78 $

Constructor Summary
ExtensionLicense(String name, List<String> content)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getContent()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtensionLicense

public ExtensionLicense(String name,
                        List<String> content)
Parameters:
name - the name of the license
content - the content of the license
Method Detail

getName

public String getName()
Returns:
the name of the license

getContent

public List<String> getContent()
Returns:
the content of the license

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2013 XWiki. All Rights Reserved.