Class M2RepositoryExists
java.lang.Object
org.marid.project.ivy.infrastructure.M2RepositoryExists
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
public class M2RepositoryExists
extends java.lang.Object
implements org.springframework.context.annotation.Condition
-
Field Summary
Fields Modifier and Type Field Description static java.nio.file.PathREPO -
Constructor Summary
Constructors Constructor Description M2RepositoryExists() -
Method Summary
Modifier and Type Method Description booleanmatches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
-
Field Details
-
REPO
public static final java.nio.file.Path REPO
-
-
Constructor Details
-
M2RepositoryExists
public M2RepositoryExists()
-
-
Method Details
-
matches
public boolean matches(@NonNull org.springframework.context.annotation.ConditionContext context, @NonNull org.springframework.core.type.AnnotatedTypeMetadata metadata)- Specified by:
matchesin interfaceorg.springframework.context.annotation.Condition
-