package com.khoubyari.example.domain;

/**
 * Created by ann on 4/16/15.
 */
public class Status {

    private final Boolean isUpdateNeeded;



    public Status(Boolean isUpdateNeeded) {
        this.isUpdateNeeded = isUpdateNeeded;
    }

    public Boolean isUpdateNeeded() {
        return isUpdateNeeded;
    }
}

@@ -32,16 +32,49 @@
 omain;%0A%0A
+import java.time.LocalDateTime;%0A%0A
 /**%0A * C
@@ -169,18 +169,118 @@
 eeded;%0A%0A
+    private final LocalDateTime timestamp;%0A%0A    private static final String data =  %22get-process%22;%0A
 %0A%0A
+%0A
     publ
@@ -357,24 +357,66 @@
 dateNeeded;%0A
+        timestamp = LocalDateTime.now();%0A%0A
     %7D%0A%0A    p
@@ -444,24 +444,24 @@
 eNeeded() %7B%0A
-
         retu
@@ -484,11 +484,151 @@
 d;%0A    %7D
+%0A%0A    public LocalDateTime getTimestamp() %7B%0A        return timestamp;%0A    %7D%0A%0A    public static String getData() %7B%0A        return data;%0A    %7D
 %0A%7D%0A

use java 8 LocalDateTime and add a data field for powershell.