Skip to content

Package: TriggerProperty

TriggerProperty

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2017, 2022 Eurotech and/or its affiliates and others
3: *
4: * This program and the accompanying materials are made
5: * available under the terms of the Eclipse Public License 2.0
6: * which is available at https://www.eclipse.org/legal/epl-2.0/
7: *
8: * SPDX-License-Identifier: EPL-2.0
9: *
10: * Contributors:
11: * Eurotech - initial API and implementation
12: *******************************************************************************/
13: package org.eclipse.kapua.service.scheduler.trigger.definition;
14:
15: import javax.xml.bind.annotation.XmlAccessType;
16: import javax.xml.bind.annotation.XmlAccessorType;
17: import javax.xml.bind.annotation.XmlRootElement;
18: import javax.xml.bind.annotation.XmlType;
19:
20: import org.eclipse.kapua.service.scheduler.trigger.TriggerXmlRegistry;
21:
22: /**
23: * {@link TriggerProperty} definition.
24: *
25: * @since 1.0.0
26: */
27: @XmlRootElement(name = "triggerProperty")
28: @XmlAccessorType(XmlAccessType.PROPERTY)
29: @XmlType(factoryClass = TriggerXmlRegistry.class, factoryMethod = "newTriggerProperty")
30: public interface TriggerProperty {
31:
32: /**
33: * Gets the name.
34: *
35: * @return The name.
36: * @since 1.0.0
37: */
38: String getName();
39:
40: /**
41: * Sets the name.
42: *
43: * @param name The name.
44: * @since 1.0.0
45: */
46: void setName(String name);
47:
48: /**
49: * Gets the property type.
50: *
51: * @return The property type.
52: * @since 1.0.0
53: */
54: String getPropertyType();
55:
56: /**
57: * Sets the property type.
58: *
59: * @param propertyType The property type.
60: * @since 1.0.0
61: */
62: void setPropertyType(String propertyType);
63:
64: /**
65: * Sets the property value.
66: *
67: * @return The property value.
68: * @since 1.0.0
69: */
70: String getPropertyValue();
71:
72: /**
73: * Sets the property value.
74: *
75: * @param propertyValue The property value.
76: * @since 1.0.0
77: */
78: void setPropertyValue(String propertyValue);
79:
80: }