Révision 1073
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 1073) | ||
---|---|---|
1778 | 1778 |
public abstract boolean toTxt(File outfile, String encoding, String colseparator, String txtseparator) throws Exception; |
1779 | 1779 |
|
1780 | 1780 |
|
1781 |
public boolean hasBeenComputedOnce() { |
|
1782 |
return hasBeenComputedOnce; |
|
1783 |
} |
|
1784 | 1781 |
|
1785 | 1782 |
|
1786 | 1783 |
/** |
1787 |
* increment the process
|
|
1784 |
* Increments the progress of the specified amount of work.
|
|
1788 | 1785 |
* |
1789 | 1786 |
* @param amount of work |
1790 | 1787 |
*/ |
... | ... | |
1796 | 1793 |
} |
1797 | 1794 |
|
1798 | 1795 |
/** |
1799 |
* increment the progress and show a message
|
|
1796 |
* Increments the progress of the specified amount of work and displays a message.
|
|
1800 | 1797 |
* |
1801 | 1798 |
* @param amount |
1802 | 1799 |
* @param message |
... | ... | |
1900 | 1897 |
} |
1901 | 1898 |
|
1902 | 1899 |
/** |
1900 |
* Gets a boolean state defining if the result has already been computed at least once or not. |
|
1901 |
* @return |
|
1902 |
*/ |
|
1903 |
public boolean hasBeenComputedOnce() { |
|
1904 |
return hasBeenComputedOnce; |
|
1905 |
} |
|
1906 |
|
|
1907 |
|
|
1908 |
/** |
|
1903 | 1909 |
* Gets the persistable state. |
1904 | 1910 |
* @return the persistable |
1905 | 1911 |
*/ |
... | ... | |
1916 | 1922 |
} |
1917 | 1923 |
|
1918 | 1924 |
/** |
1925 |
* Gets the lazy name. |
|
1926 |
* Since some result names need computed data, this name is dedicated to display the result name even if it has not been recomputed after being loaded. |
|
1919 | 1927 |
* @return the lazyName |
1920 | 1928 |
*/ |
1921 | 1929 |
public String getLazyName() { |
... | ... | |
1923 | 1931 |
} |
1924 | 1932 |
|
1925 | 1933 |
/** |
1926 |
* @return the userPersistable |
|
1934 |
* Gets the user defined persistable state of the result. |
|
1935 |
* @return the state |
|
1927 | 1936 |
*/ |
1928 | 1937 |
public boolean isUserPersistable() { |
1929 | 1938 |
return userPersistable; |
1930 | 1939 |
} |
1931 | 1940 |
|
1932 | 1941 |
/** |
1933 |
* @param userPersistable the userPersistable to set |
|
1942 |
* Sets the user defined persistable state of the result. |
|
1943 |
* @param userPersistable the state to set |
|
1934 | 1944 |
*/ |
1935 | 1945 |
public void setUserPersistable(boolean userPersistable) { |
1936 | 1946 |
this.userPersistable = userPersistable; |
Formats disponibles : Unified diff