Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atlassian.bamboo.build.strategy
Class FisheyeTriggeredBuildStrategy

    java.lang.Object
      com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
          com.atlassian.bamboo.build.strategy.AbstractPollingBuildStrategy
              com.atlassian.bamboo.build.strategy.FisheyeTriggeredBuildStrategy

All Implemented Interfaces:
  BuildStrategy, ConvertibleFromConfig

    public class FisheyeTriggeredBuildStrategy

extends AbstractPollingBuildStrategy

This class lests Fisheye decide if the build has changed and should be built.

Field Summary

Fields inherited from class com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
`changeList`

Constructor Summary
`FisheyeTriggeredBuildStrategy()`

Method Summary
`Collection` | `getChangeList()` Get the changes that have been detected
`String` | `getKey()` A lowercase string key to identify the build strategy
`String` | `getName()` Returns the display name of the strategy
`boolean` | `requiresBuild(Build build)` Has the build been triggered
`boolean` | `requiresPreBuildClean()` No point!
`void` | `setFisheyeUrl(String url)`
`void` | `setRepository(String repository)`

Methods inherited from class com.atlassian.bamboo.build.strategy.AbstractPollingBuildStrategy
`hasBeenPolled, isWithinPollingPeriod, updateLastPollTime`

Methods inherited from class com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
`addDefaultValues, getBuildMessage, getDescription, init, log, populateChangeList, populateFromConfig, setBuildMessage, toConfiguration, validate`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FisheyeTriggeredBuildStrategy

    public FisheyeTriggeredBuildStrategy()

Method Detail

### setFisheyeUrl

    public void setFisheyeUrl(String url)

### setRepository

    public void setRepository(String repository)

### getKey

    public String getKey()

  Description copied from interface: `BuildStrategy`
  A lowercase string key to identify the build strategy

  Returns:
    String must not be null

### getName

    public String getName()

  Description copied from interface: `BuildStrategy`
  Returns the display name of the strategy

  Returns:
    String must not be null

### requiresBuild

    public boolean requiresBuild(Build build)
                          throws RepositoryException

  Has the build been triggered

  Parameters:
    `build` - The build
  Returns:
    True iff the build should be built.
  Throws:
    `RepositoryException`

### requiresPreBuildClean

    public boolean requiresPreBuildClean()

  No point!

  Returns:
    false

### getChangeList

    public Collection getChangeList()

  Get the changes that have been detected

  Specified by:
    `getChangeList` in interface `BuildStrategy`
  Overrides:
    `getChangeList` in class `AbstractBuildStrategy`
  Returns:
    The files that have changed

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.