@Entity public class StackEntity extends Object
StackEntity
class is used to model an alert that needs
to run in the system. Each received alert from an agent will essentially be
an instance of this template.Constructor and Description |
---|
StackEntity()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Long |
getMpackId() |
Long |
getStackId()
Gets the unique identifier for this stack.
|
String |
getStackName()
Gets the name of the stack, such as "HDP".
|
String |
getStackVersion()
Gets the version of the stack, such as "2.2".
|
int |
hashCode() |
void |
setMpackId(Long mpackId) |
void |
setStackName(String stackName)
Sets the name of the stack, such as "HDP".
|
void |
setStackVersion(String stackVersion)
Sets the version of the stack, such as "2.2".
|
String |
toString() |
public Long getMpackId()
public void setMpackId(Long mpackId)
public Long getStackId()
public String getStackName()
null
).public void setStackName(String stackName)
stackName
- the stack name (not null
).public String getStackVersion()
null
).public void setStackVersion(String stackVersion)
stackVersion
- the stack version (not null
).Copyright © 2022 Apache Software Foundation. All rights reserved.