This project has retired. For details please refer to its Attic page.
Source code
001/**
002 * Licensed to the Apache Software Foundation (ASF) under one
003 * or more contributor license agreements.  See the NOTICE file
004 * distributed with this work for additional information
005 * regarding copyright ownership.  The ASF licenses this file
006 * to you under the Apache License, Version 2.0 (the
007 * "License"); you may not use this file except in compliance
008 * with the License.  You may obtain a copy of the License at
009 *
010 *   http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing,
013 * software distributed under the License is distributed on an
014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015 * KIND, either express or implied.  See the License for the
016 * specific language governing permissions and limitations
017 * under the License.
018 */
019package org.apache.reef.runtime.hdinsight.client.yarnrest;
020
021/**
022 * Created by marku_000 on 2014-06-30.
023 */
024public class ApplicationState {
025  private String progress;
026  private String queue;
027  private String trackingUI;
028  private String state;
029  private String amContainerLogs;
030  private String applicationType;
031  private int runningContainers;
032  private int allocatedMB;
033  private long elapsedTime;
034  private String amHostHttpAddress;
035  private String id;
036  private String finalStatus;
037  private String trackingUrl;
038  private int allocatedVCores;
039  private long finishedTime;
040  private String applicationTags;
041  private String name;
042  private long clusterId;
043  private String user;
044  private String diagnostics;
045  private long startedTime;
046
047  public String getProgress() {
048    return progress;
049  }
050
051  public void setProgress(String progress) {
052    this.progress = progress;
053  }
054
055  public String getQueue() {
056    return queue;
057  }
058
059  public void setQueue(String queue) {
060    this.queue = queue;
061  }
062
063  public String getTrackingUI() {
064    return trackingUI;
065  }
066
067  public void setTrackingUI(String trackingUI) {
068    this.trackingUI = trackingUI;
069  }
070
071  public String getState() {
072    return state;
073  }
074
075  public void setState(String state) {
076    this.state = state;
077  }
078
079  public String getAmContainerLogs() {
080    return amContainerLogs;
081  }
082
083  public void setAmContainerLogs(String amContainerLogs) {
084    this.amContainerLogs = amContainerLogs;
085  }
086
087  public String getApplicationType() {
088    return applicationType;
089  }
090
091  public void setApplicationType(String applicationType) {
092    this.applicationType = applicationType;
093  }
094
095  public int getRunningContainers() {
096    return runningContainers;
097  }
098
099  public void setRunningContainers(int runningContainers) {
100    this.runningContainers = runningContainers;
101  }
102
103  public int getAllocatedMB() {
104    return allocatedMB;
105  }
106
107  public void setAllocatedMB(int allocatedMB) {
108    this.allocatedMB = allocatedMB;
109  }
110
111  public long getElapsedTime() {
112    return elapsedTime;
113  }
114
115  public void setElapsedTime(long elapsedTime) {
116    this.elapsedTime = elapsedTime;
117  }
118
119  public String getAmHostHttpAddress() {
120    return amHostHttpAddress;
121  }
122
123  public void setAmHostHttpAddress(String amHostHttpAddress) {
124    this.amHostHttpAddress = amHostHttpAddress;
125  }
126
127  public String getId() {
128    return id;
129  }
130
131  public void setId(String id) {
132    this.id = id;
133  }
134
135  public String getFinalStatus() {
136    return finalStatus;
137  }
138
139  public void setFinalStatus(String finalStatus) {
140    this.finalStatus = finalStatus;
141  }
142
143  public String getTrackingUrl() {
144    return trackingUrl;
145  }
146
147  public void setTrackingUrl(String trackingUrl) {
148    this.trackingUrl = trackingUrl;
149  }
150
151  public int getAllocatedVCores() {
152    return allocatedVCores;
153  }
154
155  public void setAllocatedVCores(int allocatedVCores) {
156    this.allocatedVCores = allocatedVCores;
157  }
158
159  public long getFinishedTime() {
160    return finishedTime;
161  }
162
163  public void setFinishedTime(long finishedTime) {
164    this.finishedTime = finishedTime;
165  }
166
167  public String getApplicationTags() {
168    return applicationTags;
169  }
170
171  public void setApplicationTags(String applicationTags) {
172    this.applicationTags = applicationTags;
173  }
174
175  public String getName() {
176    return name;
177  }
178
179  public void setName(String name) {
180    this.name = name;
181  }
182
183  public long getClusterId() {
184    return clusterId;
185  }
186
187  public void setClusterId(long clusterId) {
188    this.clusterId = clusterId;
189  }
190
191  public String getUser() {
192    return user;
193  }
194
195  public void setUser(String user) {
196    this.user = user;
197  }
198
199  public String getDiagnostics() {
200    return diagnostics;
201  }
202
203  public void setDiagnostics(String diagnostics) {
204    this.diagnostics = diagnostics;
205  }
206
207  public long getStartedTime() {
208    return startedTime;
209  }
210
211  public void setStartedTime(long startedTime) {
212    this.startedTime = startedTime;
213  }
214}