com.google.api.services.toolresults.model.FailureDetail Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/google/apis-client-generator/
* (build: 2017-02-15 17:18:02 UTC)
* on 2017-06-07 at 03:00:34 UTC
* Modify at your own risk.
*/
package com.google.api.services.toolresults.model;
/**
* Model definition for FailureDetail.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Tool Results API. For a detailed explanation
* see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class FailureDetail extends com.google.api.client.json.GenericJson {
/**
* If the failure was severe because the system under test crashed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean crashed;
/**
* If an app is not installed and thus no test can be run with the app. This might be caused by
* trying to run a test on an unsupported platform.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean notInstalled;
/**
* If a native process other than the app crashed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean otherNativeCrash;
/**
* If the test overran some time limit, and that is why it failed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean timedOut;
/**
* If the robo was unable to crawl the app; perhaps because the app did not start.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean unableToCrawl;
/**
* If the failure was severe because the system under test crashed.
* @return value or {@code null} for none
*/
public java.lang.Boolean getCrashed() {
return crashed;
}
/**
* If the failure was severe because the system under test crashed.
* @param crashed crashed or {@code null} for none
*/
public FailureDetail setCrashed(java.lang.Boolean crashed) {
this.crashed = crashed;
return this;
}
/**
* If an app is not installed and thus no test can be run with the app. This might be caused by
* trying to run a test on an unsupported platform.
* @return value or {@code null} for none
*/
public java.lang.Boolean getNotInstalled() {
return notInstalled;
}
/**
* If an app is not installed and thus no test can be run with the app. This might be caused by
* trying to run a test on an unsupported platform.
* @param notInstalled notInstalled or {@code null} for none
*/
public FailureDetail setNotInstalled(java.lang.Boolean notInstalled) {
this.notInstalled = notInstalled;
return this;
}
/**
* If a native process other than the app crashed.
* @return value or {@code null} for none
*/
public java.lang.Boolean getOtherNativeCrash() {
return otherNativeCrash;
}
/**
* If a native process other than the app crashed.
* @param otherNativeCrash otherNativeCrash or {@code null} for none
*/
public FailureDetail setOtherNativeCrash(java.lang.Boolean otherNativeCrash) {
this.otherNativeCrash = otherNativeCrash;
return this;
}
/**
* If the test overran some time limit, and that is why it failed.
* @return value or {@code null} for none
*/
public java.lang.Boolean getTimedOut() {
return timedOut;
}
/**
* If the test overran some time limit, and that is why it failed.
* @param timedOut timedOut or {@code null} for none
*/
public FailureDetail setTimedOut(java.lang.Boolean timedOut) {
this.timedOut = timedOut;
return this;
}
/**
* If the robo was unable to crawl the app; perhaps because the app did not start.
* @return value or {@code null} for none
*/
public java.lang.Boolean getUnableToCrawl() {
return unableToCrawl;
}
/**
* If the robo was unable to crawl the app; perhaps because the app did not start.
* @param unableToCrawl unableToCrawl or {@code null} for none
*/
public FailureDetail setUnableToCrawl(java.lang.Boolean unableToCrawl) {
this.unableToCrawl = unableToCrawl;
return this;
}
@Override
public FailureDetail set(String fieldName, Object value) {
return (FailureDetail) super.set(fieldName, value);
}
@Override
public FailureDetail clone() {
return (FailureDetail) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy