public T build ( ) throws IllegalAccessException , IOException , InvocationTargetException { generatedConfigutation = new CubeContainer ( ) ; findContainerName ( ) ; // if needed, prepare prepare resources required to build a docker image prepareImageBuild ( ) ; // instantiate container object instantiateContainerObject ( ) ; // enrich container object (without cube instance) enrichContainerObjectBeforeCube ( ) ; // extract configuration from container object class extractConfigurationFromContainerObject ( ) ; // merge received configuration with extracted configuration mergeContainerObjectConfiguration ( ) ; // create/start/register associated cube initializeCube ( ) ; // enrich container object (with cube instance) enrichContainerObjectWithCube ( ) ; // return created container object return containerObjectInstance ; }
Triggers the building process builds creates and starts the docker container associated with the requested container object creates the container object and returns it