test_class.declarator: log = LoggerFactory.getLogger(getClass())
test_class.modifier: protected final
test_class.original_string: protected final Logger log = LoggerFactory.getLogger(getClass());
test_class.type: Logger
test_class.var_name: log
test_class.file: carrot-nexus-aws-s3-publish-plugin/src/test/java/com/carrotgarden/nexus/aws/s3/publish/config/TestConfigCapability.java
test_class.identifier: TestConfigCapability
test_case.body: @Test
  	public void testGAV() {
  
  		final M2GavCalculator calc = new M2GavCalculator();
  
  		{
  			final String path = "/junit/junit/3.8.1/junit-3.8.1.pom";
  			final Gav gav = calc.pathToGav(path);
  			log(path, gav);
  			assertFalse(gav.isSnapshot());
  		}
  
  		{
  			final String path = "junit/junit/1.4.3-SNAPSHOT/junit-1.4.3-20120912.150156-11.pom";
  			final Gav gav = calc.pathToGav(path);
  			log(path, gav);
  			assertTrue(gav.isSnapshot());
  		}
  
  		{
  			final String path = "junit/junit/1.4.3-SNAPSHOT/junit-1.4.3-SNAPSHOT.pom";
  			final Gav gav = calc.pathToGav(path);
  			log(path, gav);
  			assertTrue(gav.isSnapshot());
  		}
  
  		{
  			final String path = "junit/junit/hello/junit-1.4.3-SNAPSHOT.pom";
  			final Gav gav = calc.pathToGav(path);
  			log(path, gav);
  			assertNull(gav);
  		}
  
  		{
  			final String path = "/.nexus/junit/junit/3.8.1/junit-3.8.1.pom";
  			final Gav gav = calc.pathToGav(path);
  			log(path, gav);
  			assertNotNull(gav);
  		}
  
  		{
  			final String path = "/junit/junit/3.8.1/junit-3.8.1.pom.sha1";
  			final Gav gav = calc.pathToGav(path);
  			log(path, gav);
  			assertTrue(gav.isHash());
  		}
  
  		{
  			final String path = "/junit/junit/3.8.1/junit-3.8.1.pom.md5";
  			final Gav gav = calc.pathToGav(path);
  			log(path, gav);
  			assertTrue(gav.isHash());
  			assertFalse(gav.isSnapshot());
  		}
  
  		{
  			final String path = "/junit/junit/3.8.1-SNAPSHOT/junit-3.8.1-SNAPSHOT.pom.asc";
  			final Gav gav = calc.pathToGav(path);
  			log(path, gav);
  			assertTrue(gav.isSignature());
  			assertTrue(gav.isSnapshot());
  		}
  
  		{
  			final String path = "/";
  			final Gav gav = calc.pathToGav(path);
  			log(path, gav);
  			assertNull(gav);
  		}
  
  		{
  			final String path = "jboss-releases-thirdparty/esper/esper/2.2.0-JBoss-Nightly/esper-2.2.0-JBoss-Nightly.jar";
  			final Gav gav = calc.pathToGav(path);
  			log(path, gav);
  			assertNotNull(gav);
  		}
  
  	}
test_case.class_method_signature: TestConfigCapability.testGAV()
test_case.full_signature: @Test public void testGAV()
test_case.identifier: testGAV
test_case.invocations: pathToGav log assertFalse isSnapshot pathToGav log assertTrue isSnapshot pathToGav log assertTrue isSnapshot pathToGav log assertNull pathToGav log assertNotNull pathToGav log assertTrue isHash pathToGav log assertTrue isHash assertFalse isSnapshot pathToGav log assertTrue isSignature assertTrue isSnapshot pathToGav log assertNull pathToGav log assertNotNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGAV()
focal_class.declarator: log = LoggerFactory.getLogger(getClass())
focal_class.modifier: protected final
focal_class.original_string: protected final Logger log = LoggerFactory.getLogger(getClass());
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: reporter
focal_class.modifier: private final
focal_class.original_string: private final Reporter reporter;
focal_class.type: Reporter
focal_class.var_name: reporter
focal_class.declarator: calculator
focal_class.modifier: private final
focal_class.original_string: private final GavCalculator calculator;
focal_class.type: GavCalculator
focal_class.var_name: calculator
focal_class.declarator: eventBus
focal_class.modifier: private final
focal_class.original_string: private final EventBus eventBus;
focal_class.type: EventBus
focal_class.var_name: eventBus
focal_class.declarator: capaRegistry
focal_class.modifier: private final
focal_class.original_string: private final CapabilityRegistry capaRegistry;
focal_class.type: CapabilityRegistry
focal_class.var_name: capaRegistry
focal_class.declarator: repoRegistry
focal_class.modifier: private final
focal_class.original_string: private final RepositoryRegistry repoRegistry;
focal_class.type: RepositoryRegistry
focal_class.var_name: repoRegistry
focal_class.declarator: taskManager
focal_class.modifier: private final
focal_class.original_string: private final TaskManager taskManager;
focal_class.type: TaskManager
focal_class.var_name: taskManager
focal_class.declarator: nexusCondition
focal_class.modifier: private final
focal_class.original_string: private final NexusIsActiveCondition nexusCondition;
focal_class.type: NexusIsActiveCondition
focal_class.var_name: nexusCondition
focal_class.declarator: amazonFactory
focal_class.modifier: private final
focal_class.original_string: private final AmazonFactory amazonFactory;
focal_class.type: AmazonFactory
focal_class.var_name: amazonFactory
focal_class.declarator: amazonManager
focal_class.modifier: private final
focal_class.original_string: private final AmazonManager amazonManager;
focal_class.type: AmazonManager
focal_class.var_name: amazonManager
focal_class.declarator: mailer
focal_class.modifier: private final
focal_class.original_string: private final CarrotMailer mailer;
focal_class.type: CarrotMailer
focal_class.var_name: mailer
focal_class.declarator: configBean
focal_class.modifier: private volatile
focal_class.original_string: private volatile ConfigBean configBean;
focal_class.type: ConfigBean
focal_class.var_name: configBean
focal_class.declarator: configState
focal_class.modifier: private volatile
focal_class.original_string: private volatile ConfigState configState;
focal_class.type: ConfigState
focal_class.var_name: configState
focal_class.declarator: includePattern
focal_class.modifier: private
focal_class.original_string: private Pattern includePattern;
focal_class.type: Pattern
focal_class.var_name: includePattern
focal_class.declarator: excludePattern
focal_class.modifier: private
focal_class.original_string: private Pattern excludePattern;
focal_class.type: Pattern
focal_class.var_name: excludePattern
focal_class.declarator: reportSubscribeSet
focal_class.modifier: private
focal_class.original_string: private Set<Report> reportSubscribeSet;
focal_class.type: Set<Report>
focal_class.var_name: reportSubscribeSet
focal_class.declarator: reportEmailList
focal_class.modifier: private
focal_class.original_string: private List<String> reportEmailList;
focal_class.type: List<String>
focal_class.var_name: reportEmailList
focal_class.file: carrot-nexus-aws-s3-publish-plugin/src/main/java/com/carrotgarden/nexus/aws/s3/publish/config/ConfigCapability.java
focal_class.identifier: ConfigCapability
focal_class.interfaces: implements Capability,
  		ConfigEntry
focal_class.class_method_signature: ConfigCapability.ConfigCapability( //
  			final CarrotMailer mailer, //
  			final AmazonFactory amazonFactory, //
  			@Named("base") final Reporter reporter, //
  			@Named("maven2") final GavCalculator calculator, //
  			final CapabilityRegistry capaRegistry, //
  			final NexusIsActiveCondition nexusCondition, //
  			final TaskManager scannerManager, //
  			final RepositoryRegistry repoRegistry, //
  			final EventBus eventBus, //
  			final ConditionFactory conditionFactory //
  	)
focal_class.full_signature: @Inject public  ConfigCapability( //
  			final CarrotMailer mailer, //
  			final AmazonFactory amazonFactory, //
  			@Named("base") final Reporter reporter, //
  			@Named("maven2") final GavCalculator calculator, //
  			final CapabilityRegistry capaRegistry, //
  			final NexusIsActiveCondition nexusCondition, //
  			final TaskManager scannerManager, //
  			final RepositoryRegistry repoRegistry, //
  			final EventBus eventBus, //
  			final ConditionFactory conditionFactory //
  	)
focal_class.identifier: ConfigCapability
focal_class.modifiers: @Inject public
focal_class.parameters: ( //
  			final CarrotMailer mailer, //
  			final AmazonFactory amazonFactory, //
  			@Named("base") final Reporter reporter, //
  			@Named("maven2") final GavCalculator calculator, //
  			final CapabilityRegistry capaRegistry, //
  			final NexusIsActiveCondition nexusCondition, //
  			final TaskManager scannerManager, //
  			final RepositoryRegistry repoRegistry, //
  			final EventBus eventBus, //
  			final ConditionFactory conditionFactory //
  	)
focal_class.signature:  ConfigCapability( //
  			final CarrotMailer mailer, //
  			final AmazonFactory amazonFactory, //
  			@Named("base") final Reporter reporter, //
  			@Named("maven2") final GavCalculator calculator, //
  			final CapabilityRegistry capaRegistry, //
  			final NexusIsActiveCondition nexusCondition, //
  			final TaskManager scannerManager, //
  			final RepositoryRegistry repoRegistry, //
  			final EventBus eventBus, //
  			final ConditionFactory conditionFactory //
  	)
focal_class.class_method_signature: ConfigCapability.configId()
focal_class.full_signature: @Override public String configId()
focal_class.identifier: configId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String configId()
focal_class.class_method_signature: ConfigCapability.configState()
focal_class.full_signature: @Override public ConfigState configState()
focal_class.identifier: configState
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ConfigState
focal_class.signature: ConfigState configState()
focal_class.class_method_signature: ConfigCapability.isConfigState(final ConfigState state)
focal_class.full_signature: @Override public boolean isConfigState(final ConfigState state)
focal_class.identifier: isConfigState
focal_class.modifiers: @Override public
focal_class.parameters: (final ConfigState state)
focal_class.return: boolean
focal_class.signature: boolean isConfigState(final ConfigState state)
focal_class.class_method_signature: ConfigCapability.amazonService()
focal_class.full_signature: @Override public AmazonService amazonService()
focal_class.identifier: amazonService
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: AmazonService
focal_class.signature: AmazonService amazonService()
focal_class.class_method_signature: ConfigCapability.comboId()
focal_class.full_signature: @Override public String comboId()
focal_class.identifier: comboId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String comboId()
focal_class.class_method_signature: ConfigCapability.includePattern(final ConfigBean configBean)
focal_class.full_signature: private void includePattern(final ConfigBean configBean)
focal_class.identifier: includePattern
focal_class.modifiers: private
focal_class.parameters: (final ConfigBean configBean)
focal_class.return: void
focal_class.signature: void includePattern(final ConfigBean configBean)
focal_class.class_method_signature: ConfigCapability.excludePattern(final ConfigBean configBean)
focal_class.full_signature: private void excludePattern(final ConfigBean configBean)
focal_class.identifier: excludePattern
focal_class.modifiers: private
focal_class.parameters: (final ConfigBean configBean)
focal_class.return: void
focal_class.signature: void excludePattern(final ConfigBean configBean)
focal_class.class_method_signature: ConfigCapability.excludeCustom(final String pattern)
focal_class.full_signature: private Pattern excludeCustom(final String pattern)
focal_class.identifier: excludeCustom
focal_class.modifiers: private
focal_class.parameters: (final String pattern)
focal_class.return: Pattern
focal_class.signature: Pattern excludeCustom(final String pattern)
focal_class.class_method_signature: ConfigCapability.isRelease(final String path)
focal_class.full_signature: private boolean isRelease(final String path)
focal_class.identifier: isRelease
focal_class.modifiers: private
focal_class.parameters: (final String path)
focal_class.return: boolean
focal_class.signature: boolean isRelease(final String path)
focal_class.class_method_signature: ConfigCapability.isSnapshot(final String path)
focal_class.full_signature: private boolean isSnapshot(final String path)
focal_class.identifier: isSnapshot
focal_class.modifiers: private
focal_class.parameters: (final String path)
focal_class.return: boolean
focal_class.signature: boolean isSnapshot(final String path)
focal_class.class_method_signature: ConfigCapability.isExcluded(final String path)
focal_class.full_signature: @Override public boolean isExcluded(final String path)
focal_class.identifier: isExcluded
focal_class.modifiers: @Override public
focal_class.parameters: (final String path)
focal_class.return: boolean
focal_class.signature: boolean isExcluded(final String path)
focal_class.class_method_signature: ConfigCapability.reportSubscribeSet()
focal_class.full_signature: @Override public Set<Report> reportSubscribeSet()
focal_class.identifier: reportSubscribeSet
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<Report>
focal_class.signature: Set<Report> reportSubscribeSet()
focal_class.class_method_signature: ConfigCapability.reportSubscribeSet(final String reportText)
focal_class.full_signature: private void reportSubscribeSet(final String reportText)
focal_class.identifier: reportSubscribeSet
focal_class.modifiers: private
focal_class.parameters: (final String reportText)
focal_class.return: void
focal_class.signature: void reportSubscribeSet(final String reportText)
focal_class.class_method_signature: ConfigCapability.isSubscribed(final Report report)
focal_class.full_signature: @Override public boolean isSubscribed(final Report report)
focal_class.identifier: isSubscribed
focal_class.modifiers: @Override public
focal_class.parameters: (final Report report)
focal_class.return: boolean
focal_class.signature: boolean isSubscribed(final Report report)
focal_class.class_method_signature: ConfigCapability.reportEmailList(final String addressText)
focal_class.full_signature: private void reportEmailList(final String addressText)
focal_class.identifier: reportEmailList
focal_class.modifiers: private
focal_class.parameters: (final String addressText)
focal_class.return: void
focal_class.signature: void reportEmailList(final String addressText)
focal_class.class_method_signature: ConfigCapability.reportEmailList()
focal_class.full_signature: @Override public List<String> reportEmailList()
focal_class.identifier: reportEmailList
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> reportEmailList()
focal_class.class_method_signature: ConfigCapability.status()
focal_class.full_signature: @Override public String status()
focal_class.identifier: status
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String status()
focal_class.class_method_signature: ConfigCapability.configState(final ConfigState configState)
focal_class.full_signature: private void configState(final ConfigState configState)
focal_class.identifier: configState
focal_class.modifiers: private
focal_class.parameters: (final ConfigState configState)
focal_class.return: void
focal_class.signature: void configState(final ConfigState configState)
focal_class.class_method_signature: ConfigCapability.isActive()
focal_class.full_signature: protected boolean isActive()
focal_class.identifier: isActive
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isActive()
focal_class.class_method_signature: ConfigCapability.isEnabled()
focal_class.full_signature: protected boolean isEnabled()
focal_class.identifier: isEnabled
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEnabled()
focal_class.class_method_signature: ConfigCapability.onCreate()
focal_class.full_signature: @Override public void onCreate()
focal_class.identifier: onCreate
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onCreate()
focal_class.class_method_signature: ConfigCapability.onLoad()
focal_class.full_signature: @Override public void onLoad()
focal_class.identifier: onLoad
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onLoad()
focal_class.class_method_signature: ConfigCapability.onUpdate()
focal_class.full_signature: @Override public void onUpdate()
focal_class.identifier: onUpdate
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onUpdate()
focal_class.class_method_signature: ConfigCapability.onRemove()
focal_class.full_signature: @Override public void onRemove()
focal_class.identifier: onRemove
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onRemove()
focal_class.class_method_signature: ConfigCapability.onActivate()
focal_class.full_signature: @Override public void onActivate()
focal_class.identifier: onActivate
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onActivate()
focal_class.class_method_signature: ConfigCapability.onPassivate()
focal_class.full_signature: @Override public void onPassivate()
focal_class.identifier: onPassivate
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onPassivate()
focal_class.class_method_signature: ConfigCapability.repoName()
focal_class.full_signature: private String repoName()
focal_class.identifier: repoName
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String repoName()
focal_class.class_method_signature: ConfigCapability.repo()
focal_class.full_signature: private Repository repo()
focal_class.identifier: repo
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Repository
focal_class.signature: Repository repo()
focal_class.class_method_signature: ConfigCapability.description()
focal_class.full_signature: @Override public String description()
focal_class.identifier: description
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String description()
focal_class.class_method_signature: ConfigCapability.activationCondition()
focal_class.full_signature: @Override public Condition activationCondition()
focal_class.identifier: activationCondition
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Condition
focal_class.signature: Condition activationCondition()
focal_class.superclass: extends CapabilitySupport
focal_method.body: private boolean isSnapshot(final String path) {
  		return path.contains("-SNAPSHOT/");
  	}
focal_method.class_method_signature: ConfigCapability.isSnapshot(final String path)
focal_method.full_signature: private boolean isSnapshot(final String path)
focal_method.identifier: isSnapshot
focal_method.invocations: contains
focal_method.modifiers: private
focal_method.parameters: (final String path)
focal_method.return: boolean
focal_method.signature: boolean isSnapshot(final String path)