Package net.officefloor.frame.api.build
Interface AdministrationBuilder<F extends Enum<F>,G extends Enum<G>>
- Type Parameters:
F-Flowkey type.G-Governancekey type.
- All Superinterfaces:
FunctionBuilder<F>
- All Known Implementing Classes:
AdministrationBuilderImpl
public interface AdministrationBuilder<F extends Enum<F>,G extends Enum<G>>
extends FunctionBuilder<F>
Enables building an
Administration.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidadministerManagedObject(String scopeManagedObjectName) Flags for theAdministrationto administer the referencedManagedObject.voidlinkGovernance(int governanceIndex, String governanceName) Links aGovernance.voidlinkGovernance(G key, String governanceName) Links aGovernance.voidsetAsynchronousFlowTimeout(long timeout) Specifies the timeout to forAsynchronousFlowinstances for thisAdministration.Methods inherited from interface net.officefloor.frame.api.build.FunctionBuilder
addEscalation, linkFlow, linkFlow, setResponsibleTeam
-
Method Details
-
administerManagedObject
Flags for theAdministrationto administer the referencedManagedObject. This may be called more than once to register more than oneManagedObjectto be administered by thisAdministration.- Parameters:
scopeManagedObjectName- Name of theManagedObjectwithin the scope thisAdministrationis being added.
-
linkGovernance
Links aGovernance.- Parameters:
key- Key to identify theGovernance.governanceName- Name of theGovernance.
-
linkGovernance
Links aGovernance.- Parameters:
governanceIndex- Index to identify theGovernance.governanceName- Name of theGovernance.
-
setAsynchronousFlowTimeout
void setAsynchronousFlowTimeout(long timeout) Specifies the timeout to forAsynchronousFlowinstances for thisAdministration.- Parameters:
timeout- Timeout.
-