Class Overview
Predicate to indicate whether or not the the passed license is within maintenance.
Summary
Public Methods |
boolean
|
test(LicenseDetails details)
Checks whether the license is within the maintenance date.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.jira.license.LicenseMaintenancePredicate
boolean
|
test(LicenseDetails details)
Checks whether the license is within the maintenance date.
|
|
From interface
java.util.function.Predicate
Predicate<T>
|
and(Predicate<? super T> arg0)
|
static
<T>
Predicate<T>
|
isEqual(Object arg0)
|
Predicate<T>
|
negate()
|
Predicate<T>
|
or(Predicate<? super T> arg0)
|
boolean
|
test(T arg0)
|
|
Public Constructors
@Inject
public
LicenseMaintenancePredicateImpl
(ApplicationManager applicationManager, BuildUtilsInfo info)
Public Methods
public
boolean
test
(LicenseDetails details)
Checks whether the license is within the maintenance date. Note, this checks the application and platform
build dates.
Parameters
details
| the license to check |
Returns
- true if the license is within maintenance