summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/ReplaceTextAction.java
blob: 599a9564500795c0c6b339adcf5b5f9f5bd042ce (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
package org.onap.sdc.dcae.composition.restmodels.ruleeditor;

public class ReplaceTextAction extends UnaryFieldAction {

	private ReplaceText replaceText;

	private class ReplaceText {
		private String find;
		private String replace;
	}

	public String getFind() {
		return replaceText.find;
	}

	public String getReplace() {
		return replaceText.replace;
	}

	public String getFromValue() {
		return getFrom().getValue();
	}

}