EntityChange commands

getEntityChange

Retrieve Entity changes

Arguments

Argument Name Type Description

entityId

String

Entity ID

entityPath

String

Entity path

entityType

String

Entity type

modifiedBy

String

User login

timeSince

Integer

Changes since this time. Timeline: [2010 → Since → Until → now]

timeUntil

Integer

Changes until this time. If omitted, presumed 'now'. Timeline: [2010 → Since → Until → now]

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.getEntityChange(
                /* optional arguments */)

getEntityChangeDetails

Retrieve Difference for Entity changes

Arguments

Argument Name Type Description

entityId

String

Entity ID (Required)

entityType

String

Entity type (Required)

revisionNumber

Integer

Revision number (Required)

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.getEntityChangeDetails(
                entityId: 'test-entityId',
                entityType: 'test-entityType',
                revisionNumber: 'test-revisionNumber')

searchEntityChange

Search Entity changes

Arguments

Argument Name Type Description

entityId

String

Entity ID

entityPath

String

Entity path

entityType

String

Entity type

modifiedBy

String

User login

timeSince

Integer

Changes since this time. Timeline: [2010 → Since → Until → now]

timeUntil

Integer

Changes until this time. If omitted, presumed 'now'. Timeline: [2010 → Since → Until → now]

Usage

import com.electriccloud.client.groovy.ElectricFlow
import com.electriccloud.client.groovy.models.*


ElectricFlow ef = new ElectricFlow()

def result = ef.searchEntityChange(
                /* optional arguments */)