protected boolean isOpenShiftMode ( ) { Properties properties = getContext ( ) . getConfiguration ( ) . getProperties ( ) ; if ( properties != null ) { return RuntimeMode . isOpenShiftMode ( properties ) ; } return false ; }
Returns true if we are in OpenShift S2I binary building mode