public static void main()

in src/main/java/com/amazonaws/schemamanager/SchemaManagerMain.java [49:74]


	public static void main(String[] args) throws Exception{
		int result = init(args);
		if (result > 0) throw new RuntimeException("SchemaManager error code: " + result);
		if (result == 0) return;
		
		ISchemaManagerRunner schemaManager = null;
		switch(mode) {
		case PR_VALIDATION:{
			schemaManager = new SchemaManagerPrValidator();
			break;
		}
		case BUILD_VALIDATION:{
			throw new Exception("Build validation is not implemented yet");
		}
		case FULL: {
			schemaManager = new SchemaManagerTask();
			break;
			// throw new Exception("Full mode is not implemented yet");
		}
		default:{
			printHelp(options);
		}
		}
		
		schemaManager.run();
	}