Package org.sonar.iac.docker.tree.api
Interface HasScope
-
- All Known Subinterfaces:
Body,DockerImage
- All Known Implementing Classes:
BodyImpl,DockerImageImpl
public interface HasScopeInterface to define any element that has aScope, with methods to modify/access it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Scopescope()voidsetScope(Scope scope)
-
-
-
Method Detail
-
scope
Scope scope()
-
setScope
void setScope(Scope scope)
- Throws:
IllegalArgumentException- when scope is already set
-
-