public interface LicenseCheck
Modifier and Type | Interface and Description |
---|---|
static class |
LicenseCheck.Failure
Implements a
LicenseCheck.Result that always fails . |
static class |
LicenseCheck.Result
The result of a
LicenseCheck , which may be either passed or failed, depending on the
return value of LicenseCheck.Result.isPass() . |
Modifier and Type | Field and Description |
---|---|
static LicenseCheck.Result |
FAIL
Indicates that a license check has failed but does not have any failing
licenses . |
static LicenseCheck.Result |
FAIL_NO_LICENSES
Indicates that a license check has failed but because no
licenses are present. |
static LicenseCheck.Result |
PASS
Indicates this license check has been passed.
|
Modifier and Type | Method and Description |
---|---|
LicenseCheck.Result |
evaluate()
Performs this license check.
|
default boolean |
isPass()
Indicates whether this check passes, taking into account the grace period.
|
static final LicenseCheck.Result PASS
static final LicenseCheck.Result FAIL
licenses
.static final LicenseCheck.Result FAIL_NO_LICENSES
licenses
are present.LicenseCheck.Result evaluate()
default boolean isPass()
Copyright © 2002-2018 Atlassian. All Rights Reserved.