public final class PermissionGrantAsPureData extends Object
PermissionGrant
or PermissionGrantInput
which treats both of them in the same way in terms of equality. I.e. it ignores the id of grants.Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<PermissionGrantAsPureData,PermissionGrant> |
TO_GRANT |
static com.google.common.base.Function<PermissionGrantAsPureData,PermissionGrantInput> |
TO_GRANT_INPUT |
static com.google.common.base.Function<PermissionGrant,PermissionGrantAsPureData> |
TO_PURE_DATA |
static com.google.common.base.Function<PermissionGrantInput,PermissionGrantAsPureData> |
TO_PURE_DATA_2 |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static com.google.common.base.Predicate<PermissionGrant> |
equalToModuloId(PermissionGrantInput data) |
com.atlassian.fugue.Either<PermissionGrant,PermissionGrantInput> |
getActual() |
PermissionGrant |
getGrant() |
PermissionGrantInput |
getGrantInput() |
int |
hashCode() |
static PermissionGrantAsPureData |
of(PermissionGrant grant) |
static PermissionGrantAsPureData |
of(PermissionGrantInput grantData) |
String |
toString() |
public static final com.google.common.base.Function<PermissionGrant,PermissionGrantAsPureData> TO_PURE_DATA
public static final com.google.common.base.Function<PermissionGrantInput,PermissionGrantAsPureData> TO_PURE_DATA_2
public static final com.google.common.base.Function<PermissionGrantAsPureData,PermissionGrant> TO_GRANT
public static final com.google.common.base.Function<PermissionGrantAsPureData,PermissionGrantInput> TO_GRANT_INPUT
public com.atlassian.fugue.Either<PermissionGrant,PermissionGrantInput> getActual()
public PermissionGrant getGrant()
public PermissionGrantInput getGrantInput()
public static PermissionGrantAsPureData of(PermissionGrant grant)
public static PermissionGrantAsPureData of(PermissionGrantInput grantData)
public static com.google.common.base.Predicate<PermissionGrant> equalToModuloId(PermissionGrantInput data)
Copyright © 2002-2015 Atlassian. All Rights Reserved.