org.drools.compiler.lang.descr.ProcessDescr Maven / Gradle / Ivy
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.drools.compiler.lang.descr;
import org.drools.core.rule.Dialectable;
import org.kie.api.io.Resource;
public class ProcessDescr extends BaseDescr
implements
Dialectable {
private String dialect;
private String name;
private String className;
private String processId;
private Resource resource;
public ProcessDescr() { }
public ProcessDescr(String name) {
this.name = name;
}
public Resource getResource() {
return resource;
}
public void setResource(Resource resource) {
this.resource = resource;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getClassName() {
return className;
}
public void setClassName(String className) {
this.className = className;
}
public void setDialect(String dialect) {
this.dialect = dialect;
}
public String getDialect() {
return this.dialect;
}
public String getProcessId() {
return processId;
}
public void setProcessId(String processId) {
this.processId = processId;
}
public String toString() {
return "Process " + name + "(" + processId + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy