Groovy Documentation

org.linkedin.glu.orchestration.engine.delta
[Groovy] Class CustomDeltaDefinition

java.lang.Object
  org.linkedin.glu.orchestration.engine.delta.CustomDeltaDefinition

class CustomDeltaDefinition

Authors:
yan@pongasoft.com


Property Summary
java.util.List columnsDefinition

It is a list because the order is important!

SystemFilter customFilter

This entry represent which rows should be part of the delta by filtering out the system

java.lang.String description

An (optional) description

boolean errorsOnly

java.lang.String name

The name of this custom delta

boolean summary

 
Method Summary
CustomDeltaDefinition clone()

static CustomDeltaDefinition fromDashboard(java.lang.Object dashboard)

The purpose of this method is to take the 'old' representation of the dashboard and convert it into the new one

static CustomDeltaDefinition fromExternalRepresentation(java.lang.Object er)

CustomDeltaColumnDefinition getFirstColumn()

java.lang.String getGroupBy()

java.util.Collection getTailColumns()

java.util.Map getTailOrderBy()

java.util.Collection getVisibleColumns()

CustomDeltaDefinition groupBy(java.lang.String columnName)

java.lang.Object toExternalRepresentation()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

columnsDefinition

java.util.List columnsDefinition
It is a list because the order is important! The first column in the list will be used as the 'group by' column


customFilter

SystemFilter customFilter
This entry represent which rows should be part of the delta by filtering out the system


description

java.lang.String description
An (optional) description


errorsOnly

boolean errorsOnly


name

java.lang.String name
The name of this custom delta


summary

boolean summary


 
Method Detail

clone

@Override
CustomDeltaDefinition clone()


fromDashboard

static CustomDeltaDefinition fromDashboard(java.lang.Object dashboard)
The purpose of this method is to take the 'old' representation of the dashboard and convert it into the new one Here is an example of 'old' dashboard: mountPoint: [checked: true, name: 'mountPoint', groupBy: true, linkFilter: true], agent: [checked: true, name: 'agent', groupBy: true], 'metadata.container.name': [checked: true, name: 'container', groupBy: true, linkFilter: true],
Parameters:
dashboard
Returns:


fromExternalRepresentation

static CustomDeltaDefinition fromExternalRepresentation(java.lang.Object er)


getFirstColumn

CustomDeltaColumnDefinition getFirstColumn()


getGroupBy

java.lang.String getGroupBy()


getTailColumns

java.util.Collection getTailColumns()


getTailOrderBy

java.util.Map getTailOrderBy()


getVisibleColumns

java.util.Collection getVisibleColumns()


groupBy

CustomDeltaDefinition groupBy(java.lang.String columnName)


toExternalRepresentation

@Override
java.lang.Object toExternalRepresentation()


 

Groovy Documentation