<commit_before>/*
 * CollabEditStartParams.java
 *
 * Copyright (C) 2009-15 by RStudio, Inc.
 *
 * Unless you have received this program directly from RStudio pursuant
 * to the terms of a commercial license agreement with RStudio, then
 * this program is licensed to you under the terms of version 3 of the
 * GNU Affero General Public License. This program is distributed WITHOUT
 * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
 * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
 *
 */

package org.rstudio.studio.client.workbench.views.source.events;

import com.google.gwt.core.client.JavaScriptObject;

public class CollabEditStartParams extends JavaScriptObject
{
   protected CollabEditStartParams() 
   {
   }
   
   public final native String getUrl() /*-{
      return this.url;
   }-*/;
   
   public final native String getPath() /*-{
      return this.path;
   }-*/;
   
   public final native String cursorColor() /*-{
      return this.cursor_color;
   }-*/;
   
   public final native boolean isMaster() /*-{
      return this.master;
   }-*/;
   
   public final native boolean isRejoining() /*-{
      return this.rejoining;
   }-*/;
}<commit_msg>add host node parameter to collab editor start params<commit_after>/*
 * CollabEditStartParams.java
 *
 * Copyright (C) 2009-15 by RStudio, Inc.
 *
 * Unless you have received this program directly from RStudio pursuant
 * to the terms of a commercial license agreement with RStudio, then
 * this program is licensed to you under the terms of version 3 of the
 * GNU Affero General Public License. This program is distributed WITHOUT
 * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
 * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
 *
 */

package org.rstudio.studio.client.workbench.views.source.events;

import com.google.gwt.core.client.JavaScriptObject;

public class CollabEditStartParams extends JavaScriptObject
{
   protected CollabEditStartParams() 
   {
   }
   
   public final native String getUrl() /*-{
      return this.url;
   }-*/;
   
   public final native String getPath() /*-{
      return this.path;
   }-*/;
   
   public final native String cursorColor() /*-{
      return this.cursor_color;
   }-*/;
   
   public final native boolean isMaster() /*-{
      return this.master;
   }-*/;
   
   public final native boolean isRejoining() /*-{
      return this.rejoining;
   }-*/;
   
   public final native String getHostNode() /*-{
      return this.host_node;
   }-*/;
}
{'fraction_non_alphanumeric': 0.10040755835494627, 'fraction_numerical': 0.006669136717302705, 'mean_word_length': 3.0847201210287443, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5048763', 'n_tokens_mistral': 816, 'n_tokens_neox': 760, 'n_words': 263}