Interface ManagedFunctionAugmentorContext
-
- All Superinterfaces:
SourceIssues
public interface ManagedFunctionAugmentorContext extends SourceIssues
Context for theManagedFunctionAugmentor.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddPostAdministration(OfficeAdministration administration)Adds anOfficeAdministrationto be done after completing thisManagedFunction.voidaddPreAdministration(OfficeAdministration administration)Adds anOfficeAdministrationto be done before attempting thisManagedFunction.AugmentedFunctionObjectgetFunctionObject(java.lang.String objectName)Obtains theAugmentedFunctionObjectfor theManagedFunction.java.lang.StringgetManagedFunctionName()Obtains the name of theManagedFunction.ManagedFunctionType<?,?>getManagedFunctionType()Obtains theManagedFunctionTypeof theManagedFunction.voidlink(AugmentedFunctionObject object, OfficeManagedObject managedObject)Links theAugmentedFunctionObjectto theOfficeManagedObject.-
Methods inherited from interface net.officefloor.compile.issues.SourceIssues
addIssue, addIssue
-
-
-
-
Method Detail
-
getManagedFunctionName
java.lang.String getManagedFunctionName()
Obtains the name of theManagedFunction.- Returns:
- Name of the
ManagedFunction.
-
getManagedFunctionType
ManagedFunctionType<?,?> getManagedFunctionType()
Obtains theManagedFunctionTypeof theManagedFunction.- Returns:
ManagedFunctionTypeof theManagedFunction.
-
addPreAdministration
void addPreAdministration(OfficeAdministration administration)
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
void addPostAdministration(OfficeAdministration administration)
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
AugmentedFunctionObject getFunctionObject(java.lang.String objectName)
Obtains theAugmentedFunctionObjectfor theManagedFunction.- Parameters:
objectName- Name of theFunctionObjecton theManagedFunction.- Returns:
AugmentedFunctionObject.
-
link
void link(AugmentedFunctionObject object, OfficeManagedObject managedObject)
Links theAugmentedFunctionObjectto theOfficeManagedObject.- Parameters:
object-AugmentedFunctionObject.managedObject-OfficeManagedObject.
-
-