/* * Copyright 2000-2018 JetBrains s.r.o. * * 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. */ package jetbrains.buildServer.xmlReportPlugin.parsers.antJUnit; import org.jetbrains.annotations.Nullable; final class TestData { @Nullable private String myName; private long myDuration; private boolean myExecuted; @Nullable private String myFailureType; @Nullable private String myFailureMessage; @Nullable private String myFailureStackTrace; @Nullable private String myStdOut; @Nullable private String myStdErr; @Nullable public String getName() { return myName; } public void setName(@Nullable final String name) { myName = name; } public long getDuration() { return myDuration; } public void setDuration(final long duration) { myDuration = duration; } public boolean isExecuted() { return myExecuted; } public void setExecuted(final boolean executed) { myExecuted = executed; } @Nullable public String getFailureType() { return myFailureType; } public void setFailureType(@Nullable final String failureType) { myFailureType = failureType; } @Nullable public String getFailureMessage() { return myFailureMessage; } public void setFailureMessage(@Nullable final String failureMessage) { myFailureMessage = failureMessage; } @Nullable public String getFailureStackTrace() { return myFailureStackTrace; } public void setFailureStackTrace(@Nullable final String failureStackTrace) { myFailureStackTrace = failureStackTrace; } @Nullable public String getStdOut() { return myStdOut; } public void setStdOut(@Nullable final String stdOut) { myStdOut = stdOut; } @Nullable public String getStdErr() { return myStdErr; } public void setStdErr(@Nullable final String stdErr) { myStdErr = stdErr; } }