Class Policy.Marshaller<T> (2.3.5)

public abstract static class Policy.Marshaller<T>

Inheritance

java.lang.Object > Policy.Marshaller<T>

Type Parameter

NameDescription
T

Constructors

Marshaller()

protected Marshaller()

Fields

IDENTITY_STR_VALUE_FUNCTION

protected static final ApiFunction<Identity,String> IDENTITY_STR_VALUE_FUNCTION
Field Value
TypeDescription
ApiFunction<Identity,String>

IDENTITY_VALUE_OF_FUNCTION

protected static final ApiFunction<String,Identity> IDENTITY_VALUE_OF_FUNCTION
Field Value
TypeDescription
ApiFunction<String,Identity>

Methods

fromPb(T policyPb)

protected abstract Policy fromPb(T policyPb)
Parameter
NameDescription
policyPbT
Returns
TypeDescription
Policy

toPb(Policy policy)

protected abstract T toPb(Policy policy)
Parameter
NameDescription
policyPolicy
Returns
TypeDescription
T