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

com.sitewhere.spi.microservice.scripting.IScriptVariables Maven / Gradle / Ivy

There is a newer version: 3.0.13
Show newest version
/*
 * Copyright (c) SiteWhere, LLC. All rights reserved. http://www.sitewhere.com
 *
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */
package com.sitewhere.spi.microservice.scripting;

/**
 * Names used when injecting variables into scripts.
 */
public interface IScriptVariables {

    /** Variable used for tenant information */
    public static final String VAR_TENANT = "tenant";

    /** Variable used for device management implementaton */
    public static final String VAR_DEVICE_MANAGEMENT = "deviceManagement";

    /** Variable used for device information */
    public static final String VAR_DEVICE = "device";

    /** Variable used for event information */
    public static final String VAR_EVENT = "event";

    /** Variable used for event context information */
    public static final String VAR_EVENT_CONTEXT = "context";

    /** Variable used for passing assignment */
    public static final String VAR_ASSIGNMENT = "assignment";

    /** Variable used for passing active assignments */
    public static final String VAR_ACTIVE_ASSIGNMENTS = "assignments";

    /** Variable used for device management builder */
    public static final String VAR_DEVICE_MANAGEMENT_BUILDER = "deviceBuilder";

    /** Variable used for event management builder */
    public static final String VAR_EVENT_MANAGEMENT_BUILDER = "eventBuilder";

    /** Variable used for asset management builder */
    public static final String VAR_ASSET_MANAGEMENT_BUILDER = "assetBuilder";

    /** Variable used for tenant management builder */
    public static final String VAR_TENANT_MANAGEMENT_BUILDER = "tenantBuilder";

    /** Variable used for schedule management builder */
    public static final String VAR_SCHEDULE_MANAGEMENT_BUILDER = "scheduleBuilder";

    /** Variable used for decoded events */
    public static final String VAR_DECODED_EVENTS = "events";

    /** Variable used for interacting with decoded device request */
    public static final String VAR_DECODED_DEVICE_REQUEST = "request";

    /** Variable used for passing payload */
    public static final String VAR_PAYLOAD = "payload";

    /** Variable used for passing payload metadata */
    public static final String VAR_PAYLOAD_METADATA = "metadata";

    /** Variable used for a list of event payloads */
    public static final String VAR_EVENT_PAYLOADS = "payloads";

    /** Variable used for passing a REST client */
    public static final String VAR_REST_CLIENT = "rest";

    /** Variable used for passing logger */
    public static final String VAR_LOGGER = "logger";

    /** Variable used for passing command execution */
    public static final String VAR_COMMAND_EXECUTION = "execution";

    /** Variable used for passing system command */
    public static final String VAR_SYSTEM_COMMAND = "system";

    /** Variable used for passing command (or command execution) */
    public static final String VAR_NESTING_CONTEXT = "nesting";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy