org.citrusframework.camel.xml.ControlBus Maven / Gradle / Ivy
/*
* Copyright the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* 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.citrusframework.camel.xml;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"route",
"language",
"result"
})
public class ControlBus {
@XmlElement
protected Route route;
@XmlElement
protected Language language;
@XmlElement(name = "result")
protected String result;
public Route getRoute() {
return route;
}
public void setRoute(Route route) {
this.route = route;
}
public void setLanguage(Language language) {
this.language = language;
}
public Language getLanguage() {
return language;
}
public String getResult() {
return result;
}
public void setResult(String result) {
this.result = result;
}
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Language {
@XmlAttribute
protected String type = "simple";
@XmlValue
protected String expression;
public void setType(String type) {
this.type = type;
}
public String getType() {
return type;
}
public void setExpression(String expression) {
this.expression = expression;
}
public String getExpression() {
return expression;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy