|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.equinox.p2.ui.LicenseManager
public abstract class LicenseManager
LicenseManager defines a service which records the licenses that have been accepted in the course of installing or updating software. It can be used to determine whether a particular license should be presented to a user for acceptance, and to record the user's decision.
Constructor Summary | |
---|---|
LicenseManager()
|
Method Summary | |
---|---|
abstract boolean |
accept(ILicense license)
Record the acceptance of the specified license. |
abstract boolean |
hasAcceptedLicenses()
Return a boolean indicating whether any licenses have been accepted. |
abstract boolean |
isAccepted(ILicense license)
Return a boolean indicating whether a particular license has previously been accepted. |
abstract boolean |
reject(ILicense license)
Record the rejection of the specified license. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LicenseManager()
Method Detail |
---|
public abstract boolean accept(ILicense license)
license
- the license to be accepted
true
if the license was recorded as accepted, false
if
it was not.public abstract boolean reject(ILicense license)
license
- the license to be rejected
true
if the license was recorded as rejected, false
if
it was not.public abstract boolean isAccepted(ILicense license)
license
- the license in question
true
if the license has previously been accepted,
false
if it has not been accepted before.public abstract boolean hasAcceptedLicenses()
true
if accepted licenses have been recorded,
false
if there have been no licenses accepted.
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.