org.cloudfoundry.multiapps.controller.process.variables.Variable Maven / Gradle / Ivy
package org.cloudfoundry.multiapps.controller.process.variables;
import java.lang.reflect.Type;
import org.cloudfoundry.multiapps.common.Nullable;
import com.fasterxml.jackson.core.type.TypeReference;
public interface Variable {
static TypeReference typeReference(Class classOfT) {
if (classOfT == null) {
throw new NullPointerException();
}
return new TypeReference() {
@Override
public Type getType() {
return classOfT;
}
};
}
String getName();
@Nullable
T getDefaultValue();
Serializer getSerializer();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy