Documentation ¶
Overview ¶
* Copyright © 2020. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
* Copyright © 2020. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
Index ¶
- Constants
- Variables
- func ActivityId(ctx activity.Context) string
- func CastGenArray(arrayData interface{}) []interface{}
- func CastGenMap(mapData interface{}) map[string]interface{}
- func CastString(stringData interface{}) string
- func Contains(arrays []interface{}, target interface{}) bool
- func ConvertToBoolean(data interface{}) (interface{}, error)
- func ConvertToDate(data interface{}, dateTimeSample string) (interface{}, error)
- func ConvertToDouble(data interface{}) (interface{}, error)
- func ConvertToInteger(data interface{}) (interface{}, error)
- func ConvertToLong(data interface{}) (interface{}, error)
- func ConvertToString(data interface{}, dateTimeSample string) (interface{}, error)
- func CopyArray(orig []interface{}) []interface{}
- func CopyMap(orig map[interface{}]interface{}, target map[string]interface{})
- func DeepCopy(a interface{}) interface{}
- func Fork(processStateListener ProcessStateListener, cmdName string, cmdArgs ...string)
- func GetPropertyElement(key string, property interface{}) interface{}
- func GetPropertyElementAsString(key string, property interface{}) string
- func GetPropertyValue(iValue interface{}, iDtype interface{}) (interface{}, string, error)
- func GetSN() int64
- func GetValue(value string) string
- func IsInteger(data string) bool
- func ReadFile(filename string) (string, error)
- func ReplaceCharacter(str string, targetRegex string, replacement string, doReplace bool) string
- func ReplaceParameter(origString string, parameter string, replacement string) string
- func SliceContains(slice []string, targetElement string) bool
- func SplitFilename(filename string) (string, string)
- func StringToTypes(data string, dataType string, dateTimeSample string) (interface{}, error)
- func ToString(data interface{}, dataType string, dateTimeSample string) (string, error)
- func TypeConversion(data interface{}, dataType string, dateTimeSample string) (interface{}, error)
- func TypeString(data interface{}) string
- type ProcessMonitor
- type ProcessStateListener
Constants ¶
View Source
const (
GRAPH_ID = "$GRAPH_ID"
)
Variables ¶
View Source
var (
SN int64
)
Functions ¶
func ActivityId ¶
func CastGenArray ¶
func CastGenArray(arrayData interface{}) []interface{}
func CastGenMap ¶
func CastGenMap(mapData interface{}) map[string]interface{}
func CastString ¶
func CastString(stringData interface{}) string
func ConvertToBoolean ¶
func ConvertToBoolean(data interface{}) (interface{}, error)
func ConvertToDate ¶
func ConvertToDouble ¶
func ConvertToDouble(data interface{}) (interface{}, error)
func ConvertToInteger ¶
func ConvertToInteger(data interface{}) (interface{}, error)
func ConvertToLong ¶
func ConvertToLong(data interface{}) (interface{}, error)
func ConvertToString ¶
func Fork ¶
func Fork(processStateListener ProcessStateListener, cmdName string, cmdArgs ...string)
Method to fork a process for given command and return ProcessMonitor
func GetPropertyElement ¶
func GetPropertyElement(key string, property interface{}) interface{}
func GetPropertyValue ¶
func ReplaceCharacter ¶
func ReplaceParameter ¶
func SliceContains ¶
func SplitFilename ¶
func StringToTypes ¶
func TypeConversion ¶
func TypeString ¶
func TypeString(data interface{}) string
Types ¶
type ProcessMonitor ¶
type ProcessMonitor struct { CmdName *string CmdArgs *[]string Process *os.Process Cmd *exec.Cmd Output *[]byte Err error }
Process monitor
type ProcessStateListener ¶
type ProcessStateListener interface { OnComplete(processMonitor *ProcessMonitor) OnError(processMonitor *ProcessMonitor, err error) }
Process state listener interface
Click to show internal directories.
Click to hide internal directories.