aboutsummaryrefslogtreecommitdiffstats
path: root/common/openecomp-tosca-datatype/src/main/java/org/openecomp/sdc/tosca/datatypes/model/Trigger.java
blob: 615630fa88aaf25b247086a73d0b9d041e8649f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
package org.openecomp.sdc.tosca.datatypes.model;

import java.sql.Time;

public class Trigger {

  private String description;
  private String event_type;
  private TimeInterval schedule;
  private EventFilter target_filter;
  private Constraint condition;
  private Constraint constraint;
  private String period;
  private int evaluations;
  private String method;
  //action - String or operation?
  private Object action;


  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public String getEvent_type() {
    return event_type;
  }

  public void setEvent_type(String event_type) {
    this.event_type = event_type;
  }

  public TimeInterval getSchedule() {
    return schedule;
  }

  public void setSchedule(TimeInterval schedule) {
    this.schedule = schedule;
  }

  public EventFilter getTarget_filter() {
    return target_filter;
  }

  public void setTarget_filter(EventFilter target_filter) {
    this.target_filter = target_filter;
  }

  public Constraint getCondition() {
    return condition;
  }

  public void setCondition(Constraint condition) {
    this.condition = condition;
  }

  public Constraint getConstraint() {
    return constraint;
  }

  public void setConstraint(Constraint constraint) {
    this.constraint = constraint;
  }

  public String getPeriod() {
    return period;
  }

  public void setPeriod(String period) {
    this.period = period;
  }

  public int getEvaluations() {
    return evaluations;
  }

  public void setEvaluations(int evaluations) {
    this.evaluations = evaluations;
  }

  public String getMethod() {
    return method;
  }

  public void setMethod(String method) {
    this.method = method;
  }

  public Object getAction() {
    return action;
  }

  public void setAction(Object action) {
    this.action = action;
  }
}