public interface ILicense
ILicense
interface represents a software license. A license has required body text
which may be the full text or an annotation. An optional URL field can be specified
which links to full text. Licenses can be easily compared using their digests.
Licenses can be added to arbitrary installable units, and will typically be displayed to
end users and require explicit agreement before installation proceeds.
Instances of this class are handle objects and do not necessarily
reflect entities that exist in any particular profile or repository. These handle
objects can be created using MetadataFactory
.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns whether this license is equal to the given object.
|
String |
getBody()
Returns the license body.
|
URI |
getLocation()
Returns the location of a document containing the full license.
|
String |
getUUID()
Returns the message digest of the license body.
|
URI getLocation()
null
String getBody()
null
String getUUID()
BigInteger
, never null
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.