/** * Register a transformation description as a sub-resource at a given {@linkplain SubsystemRegistration}. * * @param description the subsystem transformation description * @param registration the subsystem registrations * @param range the model version range the transformation applies to * @return the create sub registration */ @Deprecated public static TransformersSubRegistration register(TransformationDescription description, SubsystemRegistration registration, ModelVersionRange range) { final TransformersSubRegistration subRegistration = registration.registerModelTransformers(range, description.getResourceTransformer(), description.getOperationTransformer(), description.isPlaceHolder()); return getTransformersSubRegistration(description, subRegistration); }
/** * Register a transformation description as a sub-resource at a given {@linkplain SubsystemRegistration}. * * @param description the subsystem transformation description * @param registration the subsystem registrations * @param range the model version range the transformation applies to * @return the create sub registration */ @Deprecated public static TransformersSubRegistration register(TransformationDescription description, SubsystemRegistration registration, ModelVersionRange range) { final TransformersSubRegistration subRegistration = registration.registerModelTransformers(range, description.getResourceTransformer(), description.getOperationTransformer(), description.isPlaceHolder()); return getTransformersSubRegistration(description, subRegistration); }
/** * Register a transformation description as a sub-resource at a given {@linkplain SubsystemRegistration}. * * @param description the subsystem transformation description * @param registration the subsystem registrations * @param range the model version range the transformation applies to * @return the create sub registration */ public static TransformersSubRegistration register(TransformationDescription description, SubsystemTransformerRegistration registration, ModelVersionRange range) { final TransformersSubRegistration subRegistration = registration.registerModelTransformers(range, description.getResourceTransformer(), description.getOperationTransformer(), description.isPlaceHolder()); return getTransformersSubRegistration(description, subRegistration); } }
/** * Register a transformation description as a sub-resource at a given {@linkplain SubsystemRegistration}. * * @param description the subsystem transformation description * @param registration the subsystem registrations * @param range the model version range the transformation applies to * @return the create sub registration */ public static TransformersSubRegistration register(TransformationDescription description, SubsystemTransformerRegistration registration, ModelVersionRange range) { final TransformersSubRegistration subRegistration = registration.registerModelTransformers(range, description.getResourceTransformer(), description.getOperationTransformer(), description.isPlaceHolder()); return getTransformersSubRegistration(description, subRegistration); } }