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 void
addPostAdministration(OfficeAdministration administration)
Adds anOfficeAdministration
to be done after completing thisManagedFunction
.void
addPreAdministration(OfficeAdministration administration)
Adds anOfficeAdministration
to be done before attempting thisManagedFunction
.AugmentedFunctionObject
getFunctionObject(java.lang.String objectName)
Obtains theAugmentedFunctionObject
for theManagedFunction
.java.lang.String
getManagedFunctionName()
Obtains the name of theManagedFunction
.ManagedFunctionType<?,?>
getManagedFunctionType()
Obtains theManagedFunctionType
of theManagedFunction
.void
link(AugmentedFunctionObject object, OfficeManagedObject managedObject)
Links theAugmentedFunctionObject
to 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 theManagedFunctionType
of theManagedFunction
.- Returns:
ManagedFunctionType
of theManagedFunction
.
-
addPreAdministration
void addPreAdministration(OfficeAdministration administration)
Adds anOfficeAdministration
to be done before attempting thisManagedFunction
.The order that the
OfficeAdministration
instances are added is the order they will be done before thisManagedFunction
.- Parameters:
administration
-OfficeAdministration
to be done before attempting thisManagedFunction
.
-
addPostAdministration
void addPostAdministration(OfficeAdministration administration)
Adds an
OfficeAdministration
to be done after completing thisManagedFunction
.The order that the
OfficeAdministration
instances are added is the order they will be done after thisManagedFunction
is complete.- Parameters:
administration
-OfficeAdministration
to be done after completing thisManagedFunction
.
-
getFunctionObject
AugmentedFunctionObject getFunctionObject(java.lang.String objectName)
Obtains theAugmentedFunctionObject
for theManagedFunction
.- Parameters:
objectName
- Name of theFunctionObject
on theManagedFunction
.- Returns:
AugmentedFunctionObject
.
-
link
void link(AugmentedFunctionObject object, OfficeManagedObject managedObject)
Links theAugmentedFunctionObject
to theOfficeManagedObject
.- Parameters:
object
-AugmentedFunctionObject
.managedObject
-OfficeManagedObject
.
-
-