Package com.asakusafw.yaess.core

Examples of com.asakusafw.yaess.core.ProfileContext


                QueueHadoopScriptHandler.class,
                map(new String[] {
                        JobClientProfile.KEY_POLLING_INTERVAL, "?",
                        "1.url", "http://www.example.com/jobqueue/",
                }),
                new ProfileContext(getClass().getClassLoader(), new VariableResolver(map(new String[] {
                }))));
        JobClientProfile.convert(original);
    }
View Full Code Here


                QueueHadoopScriptHandler.class,
                map(new String[] {
                        JobClientProfile.KEY_POLLING_INTERVAL, "-1",
                        "1.url", "http://www.example.com/jobqueue/",
                }),
                new ProfileContext(getClass().getClassLoader(), new VariableResolver(map(new String[] {
                }))));
        JobClientProfile.convert(original);
    }
View Full Code Here

        ServiceProfile<?> original = new ServiceProfile<HadoopScriptHandler>(
                "testing",
                QueueHadoopScriptHandler.class,
                map(new String[] {
                }),
                new ProfileContext(getClass().getClassLoader(), new VariableResolver(map(new String[] {
                }))));
        JobClientProfile.convert(original);
    }
View Full Code Here

                "testing",
                QueueHadoopScriptHandler.class,
                map(new String[] {
                        "1.user", "u",
                }),
                new ProfileContext(getClass().getClassLoader(), new VariableResolver(map(new String[] {
                }))));
        JobClientProfile.convert(original);
    }
View Full Code Here

                "testing",
                QueueHadoopScriptHandler.class,
                map(new String[] {
                        "?.url", "http://www.example.com/jobqueue/",
                }),
                new ProfileContext(getClass().getClassLoader(), new VariableResolver(map(new String[] {
                }))));
        JobClientProfile.convert(original);
    }
View Full Code Here

                "testing",
                QueueHadoopScriptHandler.class,
                map(new String[] {
                        "1.url", "${__UNDEF__}",
                }),
                new ProfileContext(getClass().getClassLoader(), new VariableResolver(map(new String[] {
                }))));
        JobClientProfile.convert(original);
    }
View Full Code Here

    ServiceProfile<FlowLoggerProvider> profile(Map<String, String> conf, Map<String, String> vars) {
        ServiceProfile<FlowLoggerProvider> profile = new ServiceProfile<FlowLoggerProvider>(
                "testing",
                FlowLoggerProvider.class,
                conf,
                new ProfileContext(getClass().getClassLoader(), new VariableResolver(vars)));
        return profile;
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.yaess.core.ProfileContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.