blob: ecdde4a7f547736f5487a2a20ee5f304d25ba05e [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2011 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.stem.loggers.csv.logger;
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Locale;
/**
* Fixed values for use in the CSV Logger project
*
*/
public interface Constants
{
public static final String SYSTEM_PATH_SEPARATOR = File.separator;
public static final String SCENARIOS_URL_PREFIX = "platform:/resource/"; //$NON-NLS-1$
public static final String BUILD_IN_SCENARIOS_PROJECT_FOLDER = "BuiltInScenarios"; //$NON-NLS-1$
public static final String RECORDED_SIMULATIONS_FOLDER = "Recorded Simulations"; //$NON-NLS-1$
public static final String EMPTY_STRING = ""; //$NON-NLS-1$
public static final String[] EXCLUDED_DECORATOR_DEFAULTS = new String[] {
"org.eclipse.stem.diseasemodels.standard.AggregatingSIDiseaseModel"}; //$NON-NLS-1$
public static final SimpleDateFormat LOG_DATE_FORMATTER
= new SimpleDateFormat("EEE d MMM yyyy", Locale.getDefault()); //$NON-NLS-1$
/**
* CSV Header Label for time column
*/
public static final String TIME_LABEL = "time"; //$NON-NLS-1$
/**
* CSV Header Label for iteration column
*/
public static final String ITERATION_LABEL = "iteration"; //$NON-NLS-1$
public static final String RUN_PARAMETER_FILE_NAME = "runparameters.csv"; //$NON-NLS-1$
public static final String LOG_FILE_SUFFIX = "csv"; //$NON-NLS-1$
public static final String[] EXCLUDED_NODE_DEFAULTS = new String[] {"node/transport/pipe"}; //$NON-NLS-1$
public static final String LOCATION_ID_PREFIX = "/node/geo/region/"; //$NON-NLS-1$
}