All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.schedulerx.worker.domain.JavaProcessorProfile Maven / Gradle / Ivy

There is a newer version: 1.12.2
Show newest version
package com.alibaba.schedulerx.worker.domain;

import com.alibaba.schedulerx.common.util.JsonUtil;

/**
 *
 * @author xiaomeng.hxm
 */
public class JavaProcessorProfile {
    private String jarUrl;
    private String className;
    private String jobHandler;

    public String getJarUrl() {
        return jarUrl;
    }

    public void setJarUrl(String jarUrl) {
        this.jarUrl = jarUrl;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
    
    public String getJobHandler() {
        return jobHandler;
    }

    public void setJobHandler(String jobHandler) {
        this.jobHandler = jobHandler;
    }

    public static void main(String[] args) {
        JavaProcessorProfile profile = new JavaProcessorProfile();
        profile.setJarUrl("/Users/armon/project/schedulerx2.0/schedulerx-test/armon_test_processor.jar");
        profile.setClassName("com.alibaba.schedulerx.worker.processor.TestSimpleJobProcessor");
        System.out.println(JsonUtil.toJson(profile));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy