public class AlertDesc
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
long |
creationTimestamp |
java.lang.String |
description |
java.lang.String |
groups |
long |
id |
java.lang.String |
key |
long |
lastExecutionNbEntries |
long |
lastExecutionTimestamp |
java.lang.String |
name |
java.lang.String |
page |
java.lang.String |
queryArgs |
java.lang.String |
uiLevelQueryArgs |
java.lang.String |
user |
Constructor and Description |
---|
AlertDesc() |
AlertDesc(AlertDesc o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this AlertDesc.
|
static AlertDesc |
fromString(java.lang.String s)
String representation of this AlertDesc.
|
long |
getCreationTimestamp()
Unix timestamp in ms of alert creation.
|
java.lang.String |
getDescription() |
java.lang.String |
getGroups()
Comma-separated list of groups
|
long |
getId() |
java.lang.String |
getKey() |
long |
getLastExecutionNbEntries()
Number of entries last time the alert was executed.
|
long |
getLastExecutionTimestamp()
Unix Timestamp in ms.
|
java.lang.String |
getName() |
java.lang.String |
getPage()
Mashup-API page to query
|
java.lang.String |
getQueryArgs()
Mashup-API query arguments, in form/url-encoded form
|
java.lang.String |
getUiLevelQueryArgs()
Mashup-UI query arguments in form/url-encoded form, matching the queryArgs.
This is used only by the publishers to be able to generate links to the Mashup UI. It is not mandatory |
java.lang.String |
getUser() |
AlertDesc |
makeCopy()
Creates and returns a deep copy of this AlertDesc.
|
static AlertDesc |
readFrom(java.io.InputStream is)
Read this AlertDesc from an XML fragment.
|
void |
setCreationTimestamp(long creationTimestamp)
Unix timestamp in ms of alert creation.
|
void |
setDescription(java.lang.String description) |
void |
setGroups(java.lang.String groups)
Comma-separated list of groups
|
void |
setId(long id) |
void |
setKey(java.lang.String key) |
void |
setLastExecutionNbEntries(long lastExecutionNbEntries)
Number of entries last time the alert was executed.
|
void |
setLastExecutionTimestamp(long lastExecutionTimestamp)
Unix Timestamp in ms.
|
void |
setName(java.lang.String name) |
void |
setPage(java.lang.String page)
Mashup-API page to query
|
void |
setQueryArgs(java.lang.String queryArgs)
Mashup-API query arguments, in form/url-encoded form
|
void |
setUiLevelQueryArgs(java.lang.String uiLevelQueryArgs)
Mashup-UI query arguments in form/url-encoded form, matching the queryArgs.
This is used only by the publishers to be able to generate links to the Mashup UI. It is not mandatory |
void |
setUser(java.lang.String user) |
java.lang.String |
toString()
String representation of this AlertDesc.
|
AlertDesc |
withCreationTimestamp(long creationTimestamp) |
AlertDesc |
withCreationTimestamp(java.lang.Long creationTimestamp) |
AlertDesc |
withDescription(java.lang.String description) |
AlertDesc |
withGroups(java.lang.String groups) |
AlertDesc |
withId(long id) |
AlertDesc |
withId(java.lang.Long id) |
AlertDesc |
withKey(java.lang.String key) |
AlertDesc |
withLastExecutionNbEntries(long lastExecutionNbEntries) |
AlertDesc |
withLastExecutionNbEntries(java.lang.Long lastExecutionNbEntries) |
AlertDesc |
withLastExecutionTimestamp(long lastExecutionTimestamp) |
AlertDesc |
withLastExecutionTimestamp(java.lang.Long lastExecutionTimestamp) |
AlertDesc |
withName(java.lang.String name) |
AlertDesc |
withPage(java.lang.String page) |
AlertDesc |
withQueryArgs(java.lang.String queryArgs) |
AlertDesc |
withUiLevelQueryArgs(java.lang.String uiLevelQueryArgs) |
AlertDesc |
withUser(java.lang.String user) |
void |
writeTo(java.io.OutputStream os)
Write this AlertDesc as an XML fragment
|
public long id
public java.lang.String user
public java.lang.String key
public java.lang.String name
public java.lang.String description
public java.lang.String page
public java.lang.String queryArgs
public java.lang.String uiLevelQueryArgs
public java.lang.String groups
public long lastExecutionTimestamp
public long lastExecutionNbEntries
public long creationTimestamp
public AlertDesc()
public AlertDesc(AlertDesc o)
public void setId(long id)
public long getId()
public AlertDesc withId(long id)
public AlertDesc withId(java.lang.Long id)
public void setUser(java.lang.String user)
public java.lang.String getUser()
public AlertDesc withUser(java.lang.String user)
public void setKey(java.lang.String key)
public java.lang.String getKey()
public AlertDesc withKey(java.lang.String key)
public void setName(java.lang.String name)
public java.lang.String getName()
public AlertDesc withName(java.lang.String name)
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public AlertDesc withDescription(java.lang.String description)
public void setPage(java.lang.String page)
public java.lang.String getPage()
public AlertDesc withPage(java.lang.String page)
public void setQueryArgs(java.lang.String queryArgs)
public java.lang.String getQueryArgs()
public AlertDesc withQueryArgs(java.lang.String queryArgs)
public void setUiLevelQueryArgs(java.lang.String uiLevelQueryArgs)
public java.lang.String getUiLevelQueryArgs()
public AlertDesc withUiLevelQueryArgs(java.lang.String uiLevelQueryArgs)
public void setGroups(java.lang.String groups)
public java.lang.String getGroups()
public AlertDesc withGroups(java.lang.String groups)
public void setLastExecutionTimestamp(long lastExecutionTimestamp)
public long getLastExecutionTimestamp()
public AlertDesc withLastExecutionTimestamp(long lastExecutionTimestamp)
public AlertDesc withLastExecutionTimestamp(java.lang.Long lastExecutionTimestamp)
public void setLastExecutionNbEntries(long lastExecutionNbEntries)
public long getLastExecutionNbEntries()
public AlertDesc withLastExecutionNbEntries(long lastExecutionNbEntries)
public AlertDesc withLastExecutionNbEntries(java.lang.Long lastExecutionNbEntries)
public void setCreationTimestamp(long creationTimestamp)
public long getCreationTimestamp()
public AlertDesc withCreationTimestamp(long creationTimestamp)
public AlertDesc withCreationTimestamp(java.lang.Long creationTimestamp)
public AlertDesc makeCopy()
public static AlertDesc readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static AlertDesc fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.