Interface ManagedFunctionAugmentorContext
- All Superinterfaces:
SourceIssues
Context for the
ManagedFunctionAugmentor.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPostAdministration(OfficeAdministration administration) Adds anOfficeAdministrationto be done after completing thisManagedFunction.voidaddPreAdministration(OfficeAdministration administration) Adds anOfficeAdministrationto be done before attempting thisManagedFunction.getFunctionObject(String objectName) Obtains theAugmentedFunctionObjectfor theManagedFunction.Obtains the name of theManagedFunction.ManagedFunctionType<?,?> Obtains theManagedFunctionTypeof theManagedFunction.voidlink(AugmentedFunctionObject object, OfficeManagedObject managedObject) Links theAugmentedFunctionObjectto theOfficeManagedObject.Methods inherited from interface net.officefloor.compile.issues.SourceIssues
addIssue, addIssue
-
Method Details
-
getManagedFunctionName
String getManagedFunctionName()Obtains the name of theManagedFunction.- Returns:
- Name of the
ManagedFunction.
-
getManagedFunctionType
ManagedFunctionType<?,?> getManagedFunctionType()Obtains theManagedFunctionTypeof theManagedFunction.- Returns:
ManagedFunctionTypeof theManagedFunction.
-
addPreAdministration
Adds anOfficeAdministrationto be done before attempting thisManagedFunction.The order that the
OfficeAdministrationinstances are added is the order they will be done before thisManagedFunction.- Parameters:
administration-OfficeAdministrationto be done before attempting thisManagedFunction.
-
addPostAdministration
Adds an
OfficeAdministrationto be done after completing thisManagedFunction.The order that the
OfficeAdministrationinstances are added is the order they will be done after thisManagedFunctionis complete.- Parameters:
administration-OfficeAdministrationto be done after completing thisManagedFunction.
-
getFunctionObject
Obtains theAugmentedFunctionObjectfor theManagedFunction.- Parameters:
objectName- Name of theFunctionObjecton theManagedFunction.- Returns:
AugmentedFunctionObject.
-
link
Links theAugmentedFunctionObjectto theOfficeManagedObject.- Parameters:
object-AugmentedFunctionObject.managedObject-OfficeManagedObject.
-