public static class MockSpecModel.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
public MockSpecModel.Builder specName(java.lang.String specName)
public MockSpecModel.Builder specTypeName(ClassName specTypeName)
public MockSpecModel.Builder componentName(java.lang.String componentName)
public MockSpecModel.Builder componentTypeName(TypeName componentTypeName)
public MockSpecModel.Builder componentClass(ClassName componentClass)
public MockSpecModel.Builder delegateMethods(ImmutableList<SpecMethodModel<DelegateMethod,java.lang.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,java.lang.Void> workingRangeRegisterMethod)
public MockSpecModel.Builder workingRangeMethods(ImmutableList<WorkingRangeMethodModel> workingRangeMethods)
public MockSpecModel.Builder updateStateMethods(ImmutableList<SpecMethodModel<UpdateStateMethod,java.lang.Void>> updateStateMethods)
public MockSpecModel.Builder updateStateWithTransitionMethods(ImmutableList<SpecMethodModel<UpdateStateMethod,java.lang.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(java.lang.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(java.lang.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(java.lang.String scopeMethodName)
public MockSpecModel.Builder isStylingSupported(boolean isStylingSupported)
public MockSpecModel.Builder specModelValidationErrors(java.util.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()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object