Class OfficeFloorHttpFunctionMain
java.lang.Object
net.officefloor.OfficeFloorRunner
net.officefloor.server.google.function.maven.OfficeFloorHttpFunctionMain
- All Implemented Interfaces:
OfficeFloorHttpFunction.HttpFunctionOfficeFloorFactory
public class OfficeFloorHttpFunctionMain
extends OfficeFloorRunner
implements OfficeFloorHttpFunction.HttpFunctionOfficeFloorFactory
Main runner for
OfficeFloorHttpFunction.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OfficeFloorcompile(OfficeFloorCompiler compiler) Undertakes compiling theOfficeFloor.Compiles and opens theOfficeFloor.static voidMain function.Compiles and opens theOfficeFloor.protected voidopen(OfficeFloor officeFloor) Undertakes opening theOfficeFloor.Methods inherited from class net.officefloor.OfficeFloorRunner
createCompiler, run, runAndBlockToClose
-
Field Details
-
FIRESTORE_PORT_NAME
Propertyname for theFirestoreport.- See Also:
-
-
Constructor Details
-
OfficeFloorHttpFunctionMain
public OfficeFloorHttpFunctionMain()
-
-
Method Details
-
main
Main function.- Parameters:
args- Command line arguments.- Throws:
Exception- If fails.
-
open
Compiles and opens theOfficeFloor.- Parameters:
args- Command line arguments.- Returns:
OfficeFloor.- Throws:
Exception- If fails to compile and open.
-
compile
Description copied from class:OfficeFloorRunnerUndertakes compiling theOfficeFloor.- Overrides:
compilein classOfficeFloorRunner- Parameters:
compiler-OfficeFloorCompiler.- Returns:
OfficeFloor.- Throws:
Exception- If fails compiling.
-
open
Description copied from class:OfficeFloorRunnerUndertakes opening theOfficeFloor.- Overrides:
openin classOfficeFloorRunner- Parameters:
officeFloor-OfficeFloor.- Throws:
Exception- If fails opening.
-
compileAndOpenOfficeFloor
Description copied from interface:OfficeFloorHttpFunction.HttpFunctionOfficeFloorFactoryCompiles and opens theOfficeFloor.- Specified by:
compileAndOpenOfficeFloorin interfaceOfficeFloorHttpFunction.HttpFunctionOfficeFloorFactory- Returns:
- Compiled and open
OfficeFloor. - Throws:
Exception- If fails to compile and open theOfficeFloor.
-