package org.apache.mesos.mini.state;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.ArrayList;

/**
 * Created by peldan on 09/07/15.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class Framework {

    private String name;
    private ArrayList<Task> tasks;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ArrayList<Task> getTasks() {
        return tasks;
    }

    public void setTasks(ArrayList<Task> tasks) {
        this.tasks = tasks;
    }
}

@@ -235,16 +235,110 @@
 work %7B%0A%0A
+    private boolean active;%0A    private boolean checkpoint;%0A    private int failover_timeout;%0A
     priv
@@ -344,24 +344,28 @@
 vate String 
+host
 name;%0A    pr
@@ -374,152 +374,1129 @@
 ate 
-ArrayList%3CTask%3E tasks;%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = nam
+String id;%0A    private String name;%0A    private String role;%0A    private ArrayList%3CTask%3E tasks;%0A%0A    public boolean isActive() %7B%0A        return active;%0A    %7D%0A%0A    public void setActive(boolean active) %7B%0A        this.active = active;%0A    %7D%0A%0A    public boolean isCheckpoint() %7B%0A        return checkpoint;%0A    %7D%0A%0A    public void setCheckpoint(boolean checkpoint) %7B%0A        this.checkpoint = checkpoint;%0A    %7D%0A%0A    public int getFailoverTimeout() %7B%0A        return failover_timeout;%0A    %7D%0A%0A    public void setFailoverTimeout(int failoverTimeout) %7B%0A        this.failover_timeout = failoverTimeout;%0A    %7D%0A%0A    public String getHostname() %7B%0A        return hostname;%0A    %7D%0A%0A    public void setHostname(String hostname) %7B%0A        this.hostname = hostname;%0A    %7D%0A%0A    public String getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(String id) %7B%0A        this.id = id;%0A    %7D%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    public String getRole() %7B%0A        return role;%0A    %7D%0A%0A    public void setRole(String role) %7B%0A        this.role = rol
 e;%0A 

add some more framework properties present in Mesos master /state.json