public interface PrimitiveType<B extends PrimitiveBuilder,C extends PrimitiveConfig,P extends SyncPrimitive> extends ConfiguredType<C>
| Modifier and Type | Method and Description |
|---|---|
default Namespace |
namespace()
Returns the primitive type namespace.
|
B |
newBuilder(String primitiveName,
C config,
PrimitiveManagementService managementService)
Returns a new primitive builder.
|
C |
newConfig()
Returns a new instance of the primitive configuration.
|
default PrimitiveResource |
newResource(P primitive)
Creates a new resource for the given primitive.
|
PrimitiveService |
newService(ServiceConfig config)
Creates a new service instance from the given configuration.
|
default Namespace namespace()
C newConfig()
newConfig in interface ConfiguredType<C extends PrimitiveConfig>B newBuilder(String primitiveName, C config, PrimitiveManagementService managementService)
primitiveName - the primitive nameconfig - the primitive configurationmanagementService - the primitive management servicePrimitiveService newService(ServiceConfig config)
config - the service configurationdefault PrimitiveResource newResource(P primitive)
primitive - the primitive instanceCopyright © 2013–2018. All rights reserved.