samplest.hello.HeaderResourceFactoryMachine Maven / Gradle / Ivy
package samplest.hello;
import com.google.common.collect.ImmutableSet;
import restx.factory.*;
import samplest.hello.HeaderResource;
@Machine
public class HeaderResourceFactoryMachine extends SingleNameFactoryMachine {
public static final Name NAME = Name.of(samplest.hello.HeaderResource.class, "HeaderResource");
public HeaderResourceFactoryMachine() {
super(0, new StdMachineEngine(NAME, 0, BoundlessComponentBox.FACTORY) {
@Override
public BillOfMaterials getBillOfMaterial() {
return new BillOfMaterials(ImmutableSet.>of(
));
}
@Override
protected samplest.hello.HeaderResource doNewComponent(SatisfiedBOM satisfiedBOM) {
return new HeaderResource(
);
}
});
}
}