public static class MockSpecModel.Builder extends Object
Constructor and Description |
---|
Builder() |
public MockSpecModel.Builder specName(String specName)
public MockSpecModel.Builder specTypeName(ClassName specTypeName)
public MockSpecModel.Builder componentName(String componentName)
public MockSpecModel.Builder componentTypeName(TypeName componentTypeName)
public MockSpecModel.Builder componentClass(ClassName componentClass)
public MockSpecModel.Builder delegateMethods(ImmutableList<SpecMethodModel<DelegateMethod,Void>> delegateMethods)
public MockSpecModel.Builder eventMethods(ImmutableList<SpecMethodModel<EventMethod,EventDeclarationModel>> eventMethods)
public MockSpecModel.Builder triggerMethods(ImmutableList<SpecMethodModel<EventMethod,EventDeclarationModel>> triggerMethods)
public MockSpecModel.Builder workingRangeRegisterMethod(SpecMethodModel<EventMethod,Void> workingRangeRegisterMethod)
public MockSpecModel.Builder workingRangeMethods(ImmutableList<WorkingRangeMethodModel> workingRangeMethods)
public MockSpecModel.Builder updateStateMethods(ImmutableList<SpecMethodModel<UpdateStateMethod,Void>> updateStateMethods)
public MockSpecModel.Builder updateStateWithTransitionMethods(ImmutableList<SpecMethodModel<UpdateStateMethod,Void>> updateStateWithTransitionMethods)
public MockSpecModel.Builder rawProps(ImmutableList<PropModel> rawProps)
public MockSpecModel.Builder props(ImmutableList<PropModel> props)
public MockSpecModel.Builder rawInjectProps(ImmutableList<InjectPropModel> rawInjectProps)
public MockSpecModel.Builder injectProps(ImmutableList<InjectPropModel> injectProps)
public MockSpecModel.Builder propDefaults(ImmutableList<PropDefaultModel> propDefaults)
public MockSpecModel.Builder typeVariables(ImmutableList<TypeVariableName> typeVariables)
public MockSpecModel.Builder stateValues(ImmutableList<StateParamModel> stateValues)
public MockSpecModel.Builder cachedValues(ImmutableList<CachedValueParamModel> cachedValues)
public MockSpecModel.Builder interStageInputs(ImmutableList<InterStageInputParamModel> interStageInputs)
public MockSpecModel.Builder treeProps(ImmutableList<TreePropModel> treeProps)
public MockSpecModel.Builder eventDeclarations(ImmutableList<EventDeclarationModel> eventDeclarations)
public MockSpecModel.Builder implicitBuilderMethods(ImmutableList<BuilderMethodModel> implicitBuilderMethods)
public MockSpecModel.Builder diffs(ImmutableList<RenderDataDiffModel> diffs)
public MockSpecModel.Builder classJavadoc(String classJavadoc)
public MockSpecModel.Builder propJavadocs(ImmutableList<PropJavadocModel> propJavadocs)
public MockSpecModel.Builder isPublic(boolean isPublic)
public MockSpecModel.Builder hasInjectedDependencies(boolean hasInjectedDependencies)
public MockSpecModel.Builder dependencyInjectionHelper(DependencyInjectionHelper dependencyInjectionHelper)
public MockSpecModel.Builder representedObject(Object representedObject)
public MockSpecModel.Builder generatedTypeSpec(TypeSpec generatedTypeSpec)
public MockSpecModel.Builder contextClass(ClassName contextClass)
public MockSpecModel.Builder stateContainerClass(ClassName stateContainerClass)
public MockSpecModel.Builder transitionClass(ClassName transitionClass)
public MockSpecModel.Builder transitionContainerClass(ClassName transitionContainerClass)
public MockSpecModel.Builder hasDeepCopy(boolean hasDeepCopy)
public MockSpecModel.Builder shouldCheckIdInIsEquivalentToMethod(boolean shouldCheckIdInIsEquivalentToMethod)
public MockSpecModel.Builder updateStateInterface(TypeName updateStateInterface)
public MockSpecModel.Builder scopeMethodName(String scopeMethodName)
public MockSpecModel.Builder isStylingSupported(boolean isStylingSupported)
public MockSpecModel.Builder specModelValidationErrors(List<SpecModelValidationError> specModelValidationErrors)
public MockSpecModel.Builder classAnnotations(ImmutableList<AnnotationSpec> classAnnotations)
public MockSpecModel.Builder tags(ImmutableList<TagModel> tags)
public MockSpecModel.Builder specElementType(SpecElementType specElementType)
public MockSpecModel.Builder isPureRender(boolean isPureRender)
public MockSpecModel.Builder enclosedSpecModel(SpecModel enclosedSpecModel)
public MockSpecModel build()