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.configuration
Class BuildExpiryConfiguration

    java.lang.Object
      com.atlassian.bamboo.configuration.BuildExpiryConfiguration

    public class BuildExpiryConfiguration

extends Object

This class is a simple POJO containing the BuildExpiry configuration settings.

Constructor Summary
`BuildExpiryConfiguration(int duration, String period)`

Method Summary
`boolean` | `equals(Object o)`
`int` | `getDuration()`
`Period` | `getExpiryPeriod()`
`String` | `getPeriod()` One of "days", "weeks", or "months"
`int` | `hashCode()`

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

Constructor Detail

### BuildExpiryConfiguration

    public BuildExpiryConfiguration(int duration,
                                    String period)

Method Detail

### getPeriod

    public String getPeriod()

  One of "days", "weeks", or "months"

### getDuration

    public int getDuration()

### getExpiryPeriod

    public Period getExpiryPeriod()

### equals

    public boolean equals(Object o)

  Overrides:
    `equals` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

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.