package jp.ac.nii.prl.mape.kb.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties("app.haskell")
@Component
public class HaskellProperties {

	private String executable = "";

	public String getExecutable() {
		return executable;
	}

	public void setExecutable(String executable) {
		this.executable = executable;
	}
}

@@ -36,16 +36,101 @@
 rties;%0A%0A
+import javax.validation.Valid;%0A%0Aimport org.hibernate.validator.constraints.NotEmpty;%0A
 import o
@@ -332,16 +332,35 @@
 ties %7B%0A%0A
+%09@NotEmpty%0A%09@Valid%0A
 %09private
@@ -385,16 +385,65 @@
  = %22%22;%0A%0A
+%09@NotEmpty%0A%09@Valid%0A%09private String sourcePath;%0A%09%0A
 %09public 
@@ -492,16 +492,74 @@
 le;%0A%09%7D%0A%0A
+%09public String getSourcePath() %7B%0A%09%09return sourcePath;%0A%09%7D%0A%0A
 %09public 
@@ -632,11 +632,95 @@
 able;%0A%09%7D
+%0A%0A%09public void setSourcePath(String sourcePath) %7B%0A%09%09this.sourcePath = sourcePath;%0A%09%7D
 %0A%7D%0A

Add source path property