org.sonar.api.batch
Class Event
java.lang.Object
org.sonar.api.database.BaseIdentifiable
org.sonar.api.batch.Event
public class Event
- extends BaseIdentifiable
- Since:
- 1.10
CATEGORY_VERSION
public static final String CATEGORY_VERSION
- See Also:
- Constant Field Values
CATEGORY_ALERT
public static final String CATEGORY_ALERT
- See Also:
- Constant Field Values
CATEGORY_PROFILE
public static final String CATEGORY_PROFILE
- See Also:
- Constant Field Values
Event
public Event()
Event
public Event(String name,
String description,
String category)
Event
@Deprecated
public Event(String name,
String description,
String category,
Date date,
Integer resourceId)
- Deprecated. in 2.5
Event
@Deprecated
public Event(String name,
String description,
String category,
Snapshot snapshot)
- Deprecated. in 2.5
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getCategory
public String getCategory()
setCategory
public void setCategory(String category)
isVersionCategory
public boolean isVersionCategory()
isProfileCategory
public boolean isProfileCategory()
getDate
public Date getDate()
setDate
public void setDate(Date date)
getSnapshot
public Snapshot getSnapshot()
getCreatedAt
public Date getCreatedAt()
setCreatedAt
public void setCreatedAt(Date createdAt)
setSnapshot
public final void setSnapshot(Snapshot snapshot)
getResourceId
public Integer getResourceId()
setResourceId
public Event setResourceId(Integer resourceId)
getData
public String getData()
setData
public void setData(String data)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009–2015 SonarSource. All rights reserved.