public static EnvironmentRule newInstance ( String profile ) { EnvironmentRule environmentRule = new EnvironmentRule ( ) ; environmentRule . setProfile ( profile ) ; return environmentRule ; }
Returns a new instance of EnvironmentRule .