All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.backendless.servercode.RunnerContext Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package com.backendless.servercode;

import com.backendless.commons.DeviceType;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: ivanlappo
 * Date: 8/19/13
 * Time: 12:55 PM
 * To change this template use File | Settings | File Templates.
 */
public class RunnerContext
{
  private String appId;
  private String userId;
  private String userToken;
  private List userRole;
  private DeviceType deviceType;
  private Map missingProperties;
  private Object prematureResult;

  public String getAppId()
  {
    return appId;
  }

  public void setAppId( String appId )
  {
    this.appId = appId;
  }

  public String getUserId()
  {
    return userId;
  }

  public void setUserId( String userId )
  {
    this.userId = userId;
  }

  public String getUserToken()
  {
    return userToken;
  }

  public List getUserRole()
  {
    return userRole;
  }

  public void setUserRole( List userRole )
  {
    this.userRole = userRole;
  }

  public void setUserToken( String userToken )
  {
    this.userToken = userToken;
  }

  public DeviceType getDeviceType()
  {
    return deviceType;
  }

  public void setDeviceType( DeviceType deviceType )
  {
    this.deviceType = deviceType;
  }

  public Map getMissingProperties()
  {
    return missingProperties;
  }

  public void setMissingProperties( Map missingProperties )
  {
    this.missingProperties = missingProperties;
  }

  public Object getPrematureResult()
  {
    return prematureResult;
  }

  public void setPrematureResult( Object prematureResult )
  {
    this.prematureResult = prematureResult;
  }

  @Override
  public String toString()
  {
    return "RunnerContext{" +
            "appId='" + appId + '\'' +
            ", userId='" + userId + '\'' +
            ", userToken='" + userToken + '\'' +
            ", userRole=" + userRole +
            ", deviceType=" + deviceType +
            ", missingProperties=" + missingProperties +
            ", prematureResult=" + prematureResult +
            '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy