| /******************************************************************************* |
| * Copyright (c) 2004, 2007 Boeing. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Boeing - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.osee.ote.core; |
| |
| import java.io.Serializable; |
| import java.util.UUID; |
| |
| import org.eclipse.osee.ote.core.environment.interfaces.ITestEnvironment; |
| |
| /** |
| * @author Ken J. Aguilar |
| */ |
| public class ConnectionRequestResult implements Serializable { |
| private static final long serialVersionUID = -2269465634573908989L; |
| private final ITestEnvironment environment; |
| private final UUID sessionKey; |
| private final ReturnStatus status; |
| |
| public ConnectionRequestResult(ITestEnvironment environment, UUID sessionId, ReturnStatus status) { |
| this.environment = environment; |
| this.sessionKey = sessionId; |
| this.status = status; |
| } |
| |
| /** |
| * @return the environment |
| */ |
| public ITestEnvironment getEnvironment() { |
| return environment; |
| } |
| |
| /** |
| * @return the sessionKey |
| */ |
| public UUID getSessionKey() { |
| return sessionKey; |
| } |
| |
| /** |
| * @return the status |
| */ |
| public ReturnStatus getStatus() { |
| return status; |
| } |
| |
| } |