Package net.officefloor.frame.api.build
Interface AdministrationBuilder<F extends java.lang.Enum<F>,G extends java.lang.Enum<G>>
-
- Type Parameters:
F
-Flow
key type.G
-Governance
key type.
- All Superinterfaces:
FunctionBuilder<F>
- All Known Implementing Classes:
AdministrationBuilderImpl
public interface AdministrationBuilder<F extends java.lang.Enum<F>,G extends java.lang.Enum<G>> extends FunctionBuilder<F>
Enables building anAdministration
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
administerManagedObject(java.lang.String scopeManagedObjectName)
Flags for theAdministration
to administer the referencedManagedObject
.void
linkGovernance(int governanceIndex, java.lang.String governanceName)
Links aGovernance
.void
linkGovernance(G key, java.lang.String governanceName)
Links aGovernance
.void
setAsynchronousFlowTimeout(long timeout)
Specifies the timeout to forAsynchronousFlow
instances for thisAdministration
.-
Methods inherited from interface net.officefloor.frame.api.build.FunctionBuilder
addEscalation, linkFlow, linkFlow, setResponsibleTeam
-
-
-
-
Method Detail
-
administerManagedObject
void administerManagedObject(java.lang.String scopeManagedObjectName)
Flags for theAdministration
to administer the referencedManagedObject
. This may be called more than once to register more than oneManagedObject
to be administered by thisAdministration
.- Parameters:
scopeManagedObjectName
- Name of theManagedObject
within the scope thisAdministration
is being added.
-
linkGovernance
void linkGovernance(G key, java.lang.String governanceName)
Links aGovernance
.- Parameters:
key
- Key to identify theGovernance
.governanceName
- Name of theGovernance
.
-
linkGovernance
void linkGovernance(int governanceIndex, java.lang.String governanceName)
Links aGovernance
.- Parameters:
governanceIndex
- Index to identify theGovernance
.governanceName
- Name of theGovernance
.
-
setAsynchronousFlowTimeout
void setAsynchronousFlowTimeout(long timeout)
Specifies the timeout to forAsynchronousFlow
instances for thisAdministration
.- Parameters:
timeout
- Timeout.
-
-