org.sonar.api.batch.sensor.dependency.internal
Class DefaultDependency
java.lang.Object
org.sonar.api.batch.sensor.internal.DefaultStorable
org.sonar.api.batch.sensor.dependency.internal.DefaultDependency
- All Implemented Interfaces:
- Dependency
public class DefaultDependency
- extends DefaultStorable
- implements Dependency
Methods inherited from interface org.sonar.api.batch.sensor.dependency.Dependency |
save |
DefaultDependency
public DefaultDependency()
DefaultDependency
public DefaultDependency(@Nullable
SensorStorage storage)
from
public Dependency from(InputFile from)
- Specified by:
from
in interface Dependency
to
public Dependency to(InputFile to)
- Specified by:
to
in interface Dependency
weight
public Dependency weight(int weight)
- Description copied from interface:
Dependency
- Set the weight of the dependency.
- Specified by:
weight
in interface Dependency
doSave
public void doSave()
- Specified by:
doSave
in class DefaultStorable
from
public InputFile from()
- Specified by:
from
in interface Dependency
to
public InputFile to()
- Specified by:
to
in interface Dependency
weight
public int weight()
- Description copied from interface:
Dependency
- Default weight value is 1.
- Specified by:
weight
in interface Dependency
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2009–2015 SonarSource. All rights reserved.