001package jmri.server.json.block; 002 003import jmri.server.json.JSON; 004 005/** 006 * Constants used by the internal JMRI JSON Block service. 007 * 008 * @author Randall Wood (C) 2016 009 */ 010public class JsonBlock { 011 012 /** 013 * {@value #BLOCK} 014 */ 015 public static final String BLOCK = "block"; // NOI18N 016 /** 017 * {@value #BLOCKS} 018 */ 019 public static final String BLOCKS = "blocks"; // NOI18N 020 /** 021 * {@value #CURVATURE} 022 */ 023 public static final String CURVATURE = "curvature"; // NOI18N 024 /** 025 * {@value #DENIED} 026 */ 027 public static final String DENIED = "denied"; // NOI18N 028 /** 029 * {@value #PERMISSIVE} 030 */ 031 public static final String PERMISSIVE = "permissive"; // NOI18N 032 /** 033 * {@value #SPEED_LIMIT} 034 */ 035 public static final String SPEED_LIMIT = JSON.SPEED + "Limit"; // NOI18N 036 037 /** 038 * Prevent instantiation, since this class only contains static values 039 */ 040 private JsonBlock() { 041 throw new UnsupportedOperationException("There is no valid instance of this class"); 042 } 043}