Class ProjectSettings

  • All Implemented Interfaces:
    Settings, java.lang.Cloneable

    public class ProjectSettings
    extends java.lang.Object
    implements Settings, java.lang.Cloneable
    This object holds settings that are saved in project files. This includes things like team numbers, which need to be preserved when deploying the project.
    • Constructor Detail

      • ProjectSettings

        public ProjectSettings()
    • Method Detail

      • getTeamNumber

        public int getTeamNumber()
      • setTeamNumber

        public void setTeamNumber​(@Nonnegative
                                  int teamNumber)
        Set the FRC team number. If the deploy address and NetworkTables server address haven't been manually overridden, this also changes them to the mDNS hostname of the team's roboRIO.
      • getPublishAddress

        public java.lang.String getPublishAddress()
      • setPublishAddress

        public void setPublishAddress​(@Nullable
                                      java.lang.String publishAddress)
      • getDeployAddress

        public java.lang.String getDeployAddress()
      • setDeployAddress

        public void setDeployAddress​(@Nullable
                                     java.lang.String deployAddress)
      • getDeployDir

        public java.lang.String getDeployDir()
      • setDeployDir

        public void setDeployDir​(@Nullable
                                 java.lang.String deployDir)
      • getDeployUser

        public java.lang.String getDeployUser()
      • setDeployUser

        public void setDeployUser​(@Nullable
                                  java.lang.String deployUser)
      • getDeployJavaHome

        public java.lang.String getDeployJavaHome()
      • setDeployJavaHome

        public void setDeployJavaHome​(@Nullable
                                      java.lang.String deployJavaHome)
      • getDeployJvmOptions

        public java.lang.String getDeployJvmOptions()
      • setDeployJvmOptions

        public void setDeployJvmOptions​(@Nullable
                                        java.lang.String deployJvmOptions)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • clone

        public ProjectSettings clone()
        Overrides:
        clone in class java.lang.Object