Package | Description |
---|---|
org.sonar.api.batch | |
org.sonar.api.database.model | |
org.sonar.batch.components | |
org.sonar.batch.index | |
org.sonar.batch.phases | |
org.sonar.plugins.core.timemachine |
Modifier and Type | Method and Description |
---|---|
Snapshot |
Event.getSnapshot() |
Modifier and Type | Method and Description |
---|---|
void |
Event.setSnapshot(Snapshot snapshot) |
Constructor and Description |
---|
Event(String name,
String description,
String category,
Snapshot snapshot)
Deprecated.
in 2.5
|
Modifier and Type | Method and Description |
---|---|
Snapshot |
Snapshot.save(DatabaseSession session) |
Snapshot |
Snapshot.setBuildDate(Date d)
Insertion date (technical)
|
Snapshot |
Snapshot.setCreatedAt(Date createdAt) |
Snapshot |
Snapshot.setLast(Boolean last) |
Snapshot |
Snapshot.setParentId(Integer i) |
Snapshot |
Snapshot.setPath(String path) |
Snapshot |
Snapshot.setPeriod1Date(Date period1Date)
For internal use.
|
Snapshot |
Snapshot.setPeriod1Mode(String s)
For internal use.
|
Snapshot |
Snapshot.setPeriod1Param(String s)
For internal use.
|
Snapshot |
Snapshot.setPeriod2Date(Date period2Date)
For internal use.
|
Snapshot |
Snapshot.setPeriod2Mode(String s)
For internal use.
|
Snapshot |
Snapshot.setPeriod2Param(String s)
For internal use.
|
Snapshot |
Snapshot.setPeriod3Date(Date period3Date)
For internal use.
|
Snapshot |
Snapshot.setPeriod3Mode(String s)
For internal use.
|
Snapshot |
Snapshot.setPeriod3Param(String s)
For internal use.
|
Snapshot |
Snapshot.setPeriod4Date(Date period4Date)
For internal use.
|
Snapshot |
Snapshot.setPeriod4Mode(String s)
For internal use.
|
Snapshot |
Snapshot.setPeriod4Param(String s)
For internal use.
|
Snapshot |
Snapshot.setPeriod5Date(Date period5Date)
For internal use.
|
Snapshot |
Snapshot.setPeriod5Mode(String s)
For internal use.
|
Snapshot |
Snapshot.setPeriod5Param(String s)
For internal use.
|
Snapshot |
Snapshot.setPeriodDate(int periodIndex,
Date d)
For internal use.
|
Snapshot |
Snapshot.setPeriodMode(int periodIndex,
String s)
For internal use.
|
Snapshot |
Snapshot.setPeriodModeParameter(int periodIndex,
String s)
For internal use.
|
Snapshot |
Snapshot.setPurgeStatus(Integer i) |
Snapshot |
Snapshot.setQualifier(String qualifier) |
Snapshot |
Snapshot.setResource(ResourceModel resource) |
Snapshot |
Snapshot.setResourceId(Integer resourceId) |
Snapshot |
Snapshot.setRootId(Integer i) |
Snapshot |
Snapshot.setRootProjectId(Integer rootProjectId) |
Snapshot |
Snapshot.setScope(String scope) |
Snapshot |
Snapshot.setStatus(String status) |
Snapshot |
Snapshot.setVersion(String version) |
Modifier and Type | Method and Description |
---|---|
void |
SnapshotSource.setSnapshot(Snapshot snapshot) |
Constructor and Description |
---|
Snapshot(ResourceModel resource,
Snapshot parent) |
SnapshotSource(Snapshot snapshot,
String source) |
Modifier and Type | Method and Description |
---|---|
Snapshot |
PastSnapshot.getProjectSnapshot() |
Modifier and Type | Method and Description |
---|---|
PastSnapshot |
PastSnapshotFinder.find(Snapshot projectSnapshot,
org.apache.commons.configuration.Configuration conf,
int index) |
PastSnapshot |
PastSnapshotFinder.find(Snapshot projectSnapshot,
int index,
String property) |
PastSnapshot |
PastSnapshotFinder.findPreviousAnalysis(Snapshot projectSnapshot) |
List<Object[]> |
PastMeasuresLoader.getPastMeasures(String resourceKey,
Snapshot projectPastSnapshot) |
Constructor and Description |
---|
PastSnapshot(String mode,
Date targetDate,
Snapshot projectSnapshot) |
Modifier and Type | Method and Description |
---|---|
Snapshot |
ResourcePersister.getLastSnapshot(Snapshot snapshot,
boolean onlyOlder)
The current snapshot which is flagged as "last", different then the current analysis.
|
Snapshot |
DefaultResourcePersister.getLastSnapshot(Snapshot snapshot,
boolean onlyOlder) |
Snapshot |
ResourcePersister.getSnapshot(Resource resource) |
Snapshot |
DefaultResourcePersister.getSnapshot(Resource reference) |
Snapshot |
ResourcePersister.getSnapshotOrFail(Resource resource) |
Snapshot |
DefaultResourcePersister.getSnapshotOrFail(Resource resource) |
Snapshot |
ResourcePersister.saveProject(Project project,
Project parent) |
Snapshot |
DefaultResourcePersister.saveProject(Project project,
Project parent) |
Snapshot |
ResourcePersister.saveResource(Project project,
Resource resource)
Persist a resource in database.
|
Snapshot |
DefaultResourcePersister.saveResource(Project project,
Resource resource) |
Snapshot |
ResourcePersister.saveResource(Project project,
Resource resource,
Resource parent)
Persist a resource in database.
|
Snapshot |
ReadOnlyPersistenceManager.saveResource(Project project,
Resource resource,
Resource parent) |
Snapshot |
PersistenceManager.saveResource(Project project,
Resource resource,
Resource parent) |
Snapshot |
DefaultResourcePersister.saveResource(Project project,
Resource resource,
Resource parent) |
Snapshot |
DefaultPersistenceManager.saveResource(Project project,
Resource resource,
Resource parent) |
Modifier and Type | Method and Description |
---|---|
Snapshot |
ResourcePersister.getLastSnapshot(Snapshot snapshot,
boolean onlyOlder)
The current snapshot which is flagged as "last", different then the current analysis.
|
Snapshot |
DefaultResourcePersister.getLastSnapshot(Snapshot snapshot,
boolean onlyOlder) |
Constructor and Description |
---|
UpdateStatusJob(ServerMetadata server,
DatabaseSession session,
ResourcePersister resourcePersister,
Snapshot snapshot) |
Constructor and Description |
---|
TimeMachineConfigurationPersister(TimeMachineConfiguration configuration,
Snapshot projectSnapshot,
DatabaseSession session) |
Copyright © 2009-2012 SonarSource. All Rights Reserved.