unquietcode.tools.flapi.builder.Block.Sa9ba1a8c9bd4fe727379d580a339fd81 Maven / Gradle / Ivy
package unquietcode.tools.flapi.builder.Block;
import javax.annotation.Generated;
import unquietcode.tools.flapi.runtime.ChainInfo;
import unquietcode.tools.flapi.runtime.MethodInfo;
import unquietcode.tools.flapi.runtime.TransitionType;
/**
* This class was generated using Flapi, the fluent API generator for Java.
* Modifications to this file will be lost upon regeneration.
* You have been warned!
*
* Visit https://github.com/UnquietCode/Flapi for more information.
*
*
* Generated on February 29, 2016 19:16:13 PST using version 1.0
* @see unquietcode.tools.flapi.builder.Block.BlockHelper
*/
@Generated(value = "unquietcode.tools.flapi", date = "2016-02-29T19:16:13-08:00", comments = "generated using Flapi, the fluent API generator for Java, version 1.0")
public interface Sa9ba1a8c9bd4fe727379d580a339fd81 <_ReturnType> {
/**
* add a new method which proceeds to an existing block
*/
@MethodInfo(type = TransitionType.Recursive, chainInfo = {
@ChainInfo(type = unquietcode.tools.flapi.builder.Method.MethodBuilder.Head.class, position = 2)
})
unquietcode.tools.flapi.builder.Method.MethodBuilder.Head> addBlockReference(String blockName, String methodSignature);
/**
* Adds an enum selector, by passing in an enum class.
*/
@MethodInfo(type = TransitionType.Recursive, chainInfo = {
@ChainInfo(type = unquietcode.tools.flapi.builder.Method.MethodBuilder.Head.class, position = 2)
})
unquietcode.tools.flapi.builder.Method.MethodBuilder.Head> addEnumSelector(Class> clazz, String methodSignature);
/**
* add a new method to the block
*/
@MethodInfo(type = TransitionType.Recursive, chainInfo = {
@ChainInfo(type = unquietcode.tools.flapi.builder.Method.MethodBuilder.Head.class, position = 1)
})
unquietcode.tools.flapi.builder.Method.MethodBuilder.Head> addMethod(String methodSignature);
/**
* mix in the contents of an annotated helper
*/
@MethodInfo(type = TransitionType.Recursive)
unquietcode.tools.flapi.builder.Block.BlockBuilder.Head<_ReturnType> addMixin(Class> helper);
/**
* mix in the contents of another block by name
*/
@MethodInfo(type = TransitionType.Recursive)
unquietcode.tools.flapi.builder.Block.BlockBuilder.Head<_ReturnType> addMixin(String blockName);
/**
* finish editing of the current block
*/
@MethodInfo(type = TransitionType.Ascending)
_ReturnType endBlock();
/**
* Start a new block, nested inside the current one.
* The block can be referenced from outside by using the designated name.
*/
@MethodInfo(type = TransitionType.Recursive, chainInfo = {
@ChainInfo(type = unquietcode.tools.flapi.builder.Method.MethodBuilder.Head.class, position = 2),
@ChainInfo(type = unquietcode.tools.flapi.builder.Block.BlockBuilder.Head.class, position = 3)
})
unquietcode.tools.flapi.builder.Method.MethodBuilder.Head>> startBlock(String blockName, String methodSignature);
/**
* Start a new anonymous block, nested inside the current one.
* The block cannot be referenced from outside, as it has no name.
*/
@MethodInfo(type = TransitionType.Recursive, chainInfo = {
@ChainInfo(type = unquietcode.tools.flapi.builder.Method.MethodBuilder.Head.class, position = 1),
@ChainInfo(type = unquietcode.tools.flapi.builder.Block.BlockBuilder.Head.class, position = 2)
})
unquietcode.tools.flapi.builder.Method.MethodBuilder.Head>> startBlock(String methodSignature);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy